Skip to content

Commit

Permalink
PEP8 cleanups for some unit test modules
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Mar 6, 2014
1 parent 7829e7a commit b4f6813
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/src/python/qgis_local_server.py
Expand Up @@ -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):
Expand Down Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions tests/src/python/test_qgspallabeling_tests.py
Expand Up @@ -25,6 +25,7 @@
svgSymbolsPath
)


# noinspection PyPep8Naming
class TestPointBase(object):

Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit b4f6813

Please sign in to comment.