Skip to content
Permalink
Browse files

PEP8 cleanups for some unit test modules

  • Loading branch information
dakcarto committed Mar 6, 2014
1 parent 7829e7a commit b4f6813671134b9bcb09f01f2a18111543190945
Showing with 5 additions and 3 deletions.
  1. +2 −1 tests/src/python/qgis_local_server.py
  2. +3 −2 tests/src/python/test_qgspallabeling_tests.py
@@ -235,7 +235,7 @@ def __init__(self, kind, exe, fcgi_bin, conf_dir, temp_dir):
pass


# noinspection PyPep8Naming
# noinspection PyPep8Naming,PyShadowingNames
class QgisLocalServer(object):

def __init__(self, fcgi_bin):
@@ -612,6 +612,7 @@ def _open_fs_item(item):
else: # ?
pass


# noinspection PyPep8Naming
def getLocalServer():
""" Start a local test server controller that independently manages Web and
@@ -25,6 +25,7 @@
svgSymbolsPath
)


# noinspection PyPep8Naming
class TestPointBase(object):

@@ -77,7 +78,7 @@ def test_background_rect_w_offset(self):

self.lyr.shapeDraw = True
self.lyr.shapeOffsetUnits = QgsPalLayerSettings.MapUnits
self.lyr.shapeOffset = QPointF(-2900.0, -450.0 )
self.lyr.shapeOffset = QPointF(-2900.0, -450.0)
self.checkTest()

def test_background_svg(self):
@@ -116,7 +117,7 @@ def test_background_svg_w_offset(self):
self.lyr.shapeSize = QPointF(100.0, 0.0)

self.lyr.shapeOffsetUnits = QgsPalLayerSettings.MapUnits
self.lyr.shapeOffset = QPointF(-2850.0, 500.0 )
self.lyr.shapeOffset = QPointF(-2850.0, 500.0)
self.checkTest()

def test_partials_labels_enabled(self):

0 comments on commit b4f6813

Please sign in to comment.
You can’t perform that action at this time.