Fix bug 1016 - "Calling of Q_INVOKABLE method returning not QVariant is impossible..."

This commit is contained in:
Hugo Parente Lima 2011-10-26 18:28:51 -02:00
commit 15ceed791f
7 changed files with 163 additions and 18 deletions

View 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()