diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-05-17 18:56:00 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-05-17 19:55:09 -0300 |
commit | 3f6c11762e55942f530737b6ed6528680fb675b5 (patch) | |
tree | 11ce19b5b66fcd0289c4f209ffce652f6a75a7c0 /tests/signals | |
parent | 089cce5dbbcaeb32b14fc561ce0d723dbb80d6e1 (diff) |
Implemented support to connection type.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/signals')
-rw-r--r-- | tests/signals/signal_object_test.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/signals/signal_object_test.py b/tests/signals/signal_object_test.py index ead4b68b9..29c6be018 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() |