Skip to content
Browse files

Updated test for imported compositions

  • Loading branch information
elpaso committed Dec 19, 2017
1 parent f5be54b commit 710309b3524cfc8e1e8c17996b5652409f23358c
Showing with 6 additions and 1 deletion.
  1. +6 −1 tests/src/python/
@@ -204,8 +204,13 @@ def testReadWriteXml(self):
self.assertTrue(manager2.readXml(elem, doc))

self.assertEqual(len(manager2.layouts()), 3)
self.assertEqual(len(manager2.compositions()), 3)
names = [ for c in manager2.compositions()]
self.assertEqual(set(names), {'test composition', 'test composition2', 'test composition3'})

self.assertEqual(len(manager2.layouts()), 6)
names = [ for c in manager2.layouts()]
self.assertCountEqual(names, ['test layout', 'test layout2', 'test layout3'])
self.assertCountEqual(names, ['test composition', 'test composition2', 'test composition3', 'test layout', 'test layout2', 'test layout3'])

def testDuplicateLayout(self):

0 comments on commit 710309b

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