Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 023ca2f

Browse files
authoredMay 14, 2019
stronger test for embedded layers
1 parent ca89b30 commit 023ca2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎tests/src/python/test_qgsproject.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def testEmbeddedGroup(self):
194194
prj.read(prj_path)
195195

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

0 commit comments

Comments
 (0)
Please sign in to comment.