Skip to content

Commit 5b40aeb

Browse files
committed
Test apply SLD PointSymbolizer on single centroid for polygon
1 parent 9420fd3 commit 5b40aeb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/src/python/test_qgssymbollayer.py

+5
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,11 @@ def testQgsCentroidFillSymbolLayer(self):
698698
mMessage = 'Expected "%s" got "%s"' % (mExpectedValue, mValue)
699699
assert mExpectedValue == mValue, mMessage
700700

701+
mExpectedValue = False
702+
mValue = mSymbolLayer.pointOnAllParts()
703+
mMessage = 'Expected "%s" got "%s"' % (mExpectedValue, mValue)
704+
assert mExpectedValue == mValue, mMessage
705+
701706
# test colors, need to make sure colors are passed/retrieved from subsymbol
702707
mSymbolLayer.setColor(QColor(150, 50, 100))
703708
self.assertEqual(mSymbolLayer.color(), QColor(150, 50, 100))

0 commit comments

Comments
 (0)