Skip to content
Permalink
Browse files

fix test

  • Loading branch information
nirvn committed Dec 17, 2019
1 parent 3404dff commit c9453343cbc91d8ee8cf5868a831727c079238c4
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgstextformatwidget.py
@@ -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()

0 comments on commit c945334

Please sign in to comment.
You can’t perform that action at this time.