Skip to content
Permalink
Browse files

Style

  • Loading branch information
nyalldawson committed Jul 29, 2020
1 parent d30a44d commit c938de482761d6e1c058365ec915ac379add845e
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgsstylemodel.py
@@ -488,7 +488,7 @@ def test_style_with_3d_symbols(self):
self.assertIsNone(model.data(model.index(-1, 0), Qt.DecorationRole))
self.assertIsNone(model.data(model.index(0, 1), Qt.DecorationRole))
self.assertIsNone(model.data(model.index(5, 0), Qt.DecorationRole))
#self.assertFalse(model.data(model.index(0, 0), Qt.DecorationRole).isNull())
# self.assertFalse(model.data(model.index(0, 0), Qt.DecorationRole).isNull())

self.assertEqual(model.data(model.index(0, 0), QgsStyleModel.TypeRole), QgsStyle.Symbol3DEntity)
self.assertEqual(model.data(model.index(1, 0), QgsStyleModel.TypeRole), QgsStyle.Symbol3DEntity)
@@ -636,7 +636,7 @@ def test_mixed_style(self):
self.assertFalse(model.data(model.index(8, 0), Qt.DecorationRole).isNull())
self.assertFalse(model.data(model.index(11, 0), Qt.DecorationRole).isNull())
self.assertFalse(model.data(model.index(14, 0), Qt.DecorationRole).isNull())
#self.assertFalse(model.data(model.index(17, 0), Qt.DecorationRole).isNull())
# self.assertFalse(model.data(model.index(17, 0), Qt.DecorationRole).isNull())

self.assertEqual(model.data(model.index(0, 0), QgsStyleModel.TypeRole), QgsStyle.SymbolEntity)
self.assertEqual(model.data(model.index(1, 0), QgsStyleModel.TypeRole), QgsStyle.SymbolEntity)

0 comments on commit c938de4

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