Skip to content

Commit 8f3692a

Browse files
committed
Fix test after composition bindings removal
1 parent b7d7bbe commit 8f3692a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/src/python/test_qgslayoutmanager.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,8 @@ def testReadWriteXml(self):
204204
self.assertTrue(manager2.readXml(elem, doc))
205205

206206
self.assertEqual(len(manager2.layouts()), 3)
207-
self.assertEqual(len(manager2.compositions()), 3)
208-
names = [c.name() for c in manager2.compositions()]
209-
self.assertEqual(set(names), {'test composition', 'test composition2', 'test composition3'})
210-
211-
self.assertEqual(len(manager2.layouts()), 6)
212207
names = [c.name() for c in manager2.layouts()]
213-
self.assertCountEqual(names, ['test composition', 'test composition2', 'test composition3', 'test layout', 'test layout2', 'test layout3'])
208+
self.assertCountEqual(names, ['test layout', 'test layout2', 'test layout3'])
214209

215210
def testDuplicateLayout(self):
216211
"""

0 commit comments

Comments
 (0)