Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix QgsDataItem test
(cherry picked from commit 1042136)
- Loading branch information
Showing
with
2 additions
and
0 deletions.
-
+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() |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.