Skip to content

Commit 5c402b2

Browse files
committed
Fix python test
1 parent 8e5fb43 commit 5c402b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/python/test_qgspallabeling_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def test_layer_pal_activated(self):
414414
lyr = self.defaultLayerSettings()
415415
lyr.writeToLayer(self.layer)
416416
msg = '\nLayer labeling not activated, as reported by labelingEngine'
417-
self.assertTrue(self._Pal.willUseLayer(self.layer), msg)
417+
self.assertTrue(QgsPalLabeling.staticWillUseLayer(self.layer), msg)
418418

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

0 commit comments

Comments
 (0)