Skip to content

Commit

Permalink
Fix python test
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Dec 15, 2016
1 parent 8e5fb43 commit 5c402b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgspallabeling_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def test_layer_pal_activated(self):
lyr = self.defaultLayerSettings()
lyr.writeToLayer(self.layer)
msg = '\nLayer labeling not activated, as reported by labelingEngine'
self.assertTrue(self._Pal.willUseLayer(self.layer), msg)
self.assertTrue(QgsPalLabeling.staticWillUseLayer(self.layer), msg)

def test_write_read_settings(self):
# Verify written PAL settings are same when read from layer
Expand Down

0 comments on commit 5c402b2

Please sign in to comment.