Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix test
  • Loading branch information
nirvn committed Dec 17, 2019
1 parent 3404dff commit c945334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgstextformatwidget.py
Expand Up @@ -85,8 +85,8 @@ def checkMaskSettings(self, s):
self.assertEqual(s.joinStyle(), Qt.RoundJoin)
self.assertTrue(s.paintEffect())
self.assertEqual(s.paintEffect().blurLevel(), 2.0)
# Always return an empty list because there is no project (and thus no layers) defined
self.assertEqual(s.maskedSymbolLayers(), [])
self.assertEqual(s.maskedSymbolLayers(), [QgsSymbolLayerReference("layerid1", QgsSymbolLayerId("symbol", 1)),
QgsSymbolLayerReference("layerid2", QgsSymbolLayerId("symbol2", 2))])

def createBackgroundSettings(self):
s = QgsTextBackgroundSettings()
Expand Down

0 comments on commit c945334

Please sign in to comment.