Fixed pya:qtbinding test

This commit is contained in:
Matthias Koefferlein 2019-04-16 07:07:19 +02:00
parent a8b3bf114a
commit 86f05456b8
1 changed files with 4 additions and 4 deletions

View File

@ -146,8 +146,8 @@ class QtBindingTest(unittest.TestCase):
# destroying a will also destroy aa
a.destroy()
self.assertEqual(a.destroyed(), True)
self.assertEqual(aa.destroyed(), True)
self.assertEqual(a._destroyed(), True)
self.assertEqual(aa._destroyed(), True)
def test_12(self):
@ -158,7 +158,7 @@ class QtBindingTest(unittest.TestCase):
# destroying a will also destroy aa
a = None
self.assertEqual(aa.destroyed(), True)
self.assertEqual(aa._destroyed(), True)
def test_13(self):
@ -182,7 +182,7 @@ class QtBindingTest(unittest.TestCase):
self.assertEqual(aa != None, True)
self.assertEqual(type(aa), pya.QAction)
self.assertEqual(aa.text, "aatext")
self.assertEqual(aa.destroyed(), False)
self.assertEqual(aa._destroyed(), False)
def test_20(self):