aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-05-17 18:56:00 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-05-17 19:55:09 -0300
commit3f6c11762e55942f530737b6ed6528680fb675b5 (patch)
tree11ce19b5b66fcd0289c4f209ffce652f6a75a7c0 /tests
parent089cce5dbbcaeb32b14fc561ce0d723dbb80d6e1 (diff)
Implemented support to connection type.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/signals/signal_object_test.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/signals/signal_object_test.py b/tests/signals/signal_object_test.py
index ead4b68b..29c6be01 100644
--- a/tests/signals/signal_object_test.py
+++ b/tests/signals/signal_object_test.py
@@ -60,5 +60,13 @@ class SignalObjectTest(UsesQCoreApplication):
self.app.exec_()
self.assert_(self._cb_called)
+ def testConnectionType(self):
+ o = MyObject()
+ o.timeout.connect(self.cb, type=Qt.DirectConnection)
+ o.start(100)
+ self.app.exec_()
+ self.assert_(self._cb_called)
+
+
if __name__ == '__main__':
unittest.main()