Skip to content
Permalink
Browse files

Fix QgsDataItem test

(cherry picked from commit 1042136)
  • Loading branch information
elpaso authored and nyalldawson committed Feb 19, 2021
1 parent ca4d4f1 commit 67d02f1f1588f590746dcc775587ebb8335766a7
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/src/python/test_qgsdataitem.py
@@ -70,6 +70,8 @@ def testPythonCreateChildrenCalledFromCplusplus(self):
self.assertEqual(children[0].name(), "name")
self.assertEqual(children[1].name(), "name2")

del(children)

# Delete the object and make sure all deferred deletions are processed
item.destroyed.connect(loop.quit)
item.deleteLater()

0 comments on commit 67d02f1

Please sign in to comment.