Fix bug 1016 - "Calling of Q_INVOKABLE method returning not QVariant is impossible..."
This commit is contained in:
parent
f55d088d44
commit
15ceed791f
7 changed files with 163 additions and 18 deletions
12
tests/pysidetest/bug_1016.py
Normal file
12
tests/pysidetest/bug_1016.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from testbinding import *
|
||||
import unittest
|
||||
|
||||
class TestBug1016 (unittest.TestCase):
|
||||
|
||||
def testIt(self):
|
||||
obj = getHiddenObject()
|
||||
self.assertEqual(obj.callMe(), None)
|
||||
self.assertTrue(obj.wasCalled())
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue