Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Backport release-3_4] stronger test for embedded layers (#10003)
  • Loading branch information
backporting[bot] authored and 3nids committed May 14, 2019
1 parent ca89b30 commit a23bffd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/python/test_qgsproject.py
Expand Up @@ -194,6 +194,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'])
Expand Down

0 comments on commit a23bffd

Please sign in to comment.