Skip to content
Permalink
Browse files

stronger test for embedded layers (#10001)

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

layer_tree_group = prj.layerTreeRoot()
self.assertEqual(len(layer_tree_group.findLayerIds()), 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 2cc8e11

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