aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pysidetest/bug_1016.py
diff options
context:
space:
mode:
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()