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 8af8b29 commit 666df2f
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 666df2f

Please sign in to comment.