aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-16 18:21:25 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-16 19:04:49 -0300
commitaedea32f131a553a9db0670cd89c43d171244951 (patch)
tree323bb2b08df8dc9ba7b60ec42b89b30ec722f3c7 /tests
parent2d24d300d8ef7e65489051f2f6d3d7d213d4a86a (diff)
Implemented help function to connect signal with python callback.
Updated QAction unittest to work with signal connection on constructor. Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/QtGui/qaction_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtGui/qaction_test.py b/tests/QtGui/qaction_test.py
index ff7efbe50..b6a45d18b 100644
--- a/tests/QtGui/qaction_test.py
+++ b/tests/QtGui/qaction_test.py
@@ -5,7 +5,7 @@ from helper import UsesQApplication
class QPainterDrawText(UsesQApplication):
- def _cb(self, checked):
+ def _cb(self):
self._called = True
def testSignal(self):