Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reset layers for each pal placement test, avoids all tests failing
because of one
  • Loading branch information
nyalldawson committed Aug 9, 2016
1 parent f928186 commit 95ecdaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/python/test_qgspallabeling_placement.py
Expand Up @@ -48,6 +48,7 @@ def tearDownClass(cls):
def setUp(self):
"""Run before each test."""
super(TestPlacementBase, self).setUp()
self.removeAllLayers()
self.configTest('pal_placement', 'sp')
self._TestImage = ''
# ensure per test map settings stay encapsulated
Expand Down

0 comments on commit 95ecdaf

Please sign in to comment.