Skip to content
Permalink
Browse files

[Backport release-3_4] stronger test for embedded layers (#10003)

  • Loading branch information
backporting authored and 3nids committed May 14, 2019
1 parent ca89b30 commit a23bffdc510e3e3517c4e0cb9bcadabc43ef154a
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(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 a23bffd

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