aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pysidetest/bug_1016.py
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-10-26 18:28:51 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:56:15 -0300
commit15ceed791f8dda4aa1256e67c11f8a748ce4b7b0 (patch)
treeb71a2c970c244e586de94ddfcb6f5e35e12d27ee /tests/pysidetest/bug_1016.py
parentf55d088d4449f0a4b77ab428442a344790fbecd2 (diff)
Fix bug 1016 - "Calling of Q_INVOKABLE method returning not QVariant is impossible..."
Diffstat (limited to 'tests/pysidetest/bug_1016.py')
-rw-r--r--tests/pysidetest/bug_1016.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/pysidetest/bug_1016.py b/tests/pysidetest/bug_1016.py
new file mode 100644
index 000000000..38432c62f
--- /dev/null
+++ b/tests/pysidetest/bug_1016.py
@@ -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()