Skip to content

Commit

Permalink
Reset layers for each pal placement test, avoids all tests failing
Browse files Browse the repository at this point in the history
because of one

(cherry-picked from 95ecdaf)
  • Loading branch information
nyalldawson committed Aug 10, 2016
1 parent c442a06 commit 024f6a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/python/test_qgspallabeling_placement.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def tearDownClass(cls):
def setUp(self): def setUp(self):
"""Run before each test.""" """Run before each test."""
super(TestPlacementBase, self).setUp() super(TestPlacementBase, self).setUp()
self.removeAllLayers()
self.configTest('pal_placement', 'sp') self.configTest('pal_placement', 'sp')
self._TestImage = '' self._TestImage = ''
# ensure per test map settings stay encapsulated # ensure per test map settings stay encapsulated
Expand Down

0 comments on commit 024f6a0

Please sign in to comment.