Skip to content
Permalink
Browse files

stronger test for embedded layers

  • Loading branch information
3nids committed May 14, 2019
1 parent ca89b30 commit 023ca2f76eec320739862000ecb9f753d4da93ef
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/src/python/test_qgsproject.py
@@ -194,6 +194,7 @@ def testEmbeddedGroup(self):
prj.read(prj_path)

layer_tree_group = prj.layerTreeRoot()
self.assertEqual(layer_tree_group.findLayerIds().count(), 2)
for layer_id in layer_tree_group.findLayerIds():
name = prj.mapLayer(layer_id).name()
self.assertTrue(name in ['polys', 'lines'])

0 comments on commit 023ca2f

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