Skip to content
Permalink
Browse files

Fix test after composition bindings removal

  • Loading branch information
elpaso committed Jan 9, 2018
1 parent b7d7bbe commit 8f3692aa8521e022648c092757f86835e49ea37a
Showing with 1 addition and 6 deletions.
  1. +1 −6 tests/src/python/test_qgslayoutmanager.py
@@ -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):
"""

0 comments on commit 8f3692a

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