Skip to content

Commit

Permalink
Fix test after composition bindings removal
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jan 9, 2018
1 parent b7d7bbe commit 8f3692a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/src/python/test_qgslayoutmanager.py
Expand Up @@ -204,13 +204,8 @@ def testReadWriteXml(self):
self.assertTrue(manager2.readXml(elem, doc))

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

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

def testDuplicateLayout(self):
"""
Expand Down

0 comments on commit 8f3692a

Please sign in to comment.