diff options
author | Lauro Neto <lauro.neto@openbossa.org> | 2010-02-11 16:11:31 -0300 |
---|---|---|
committer | Lauro Neto <lauro.neto@openbossa.org> | 2010-02-11 16:11:31 -0300 |
commit | d39d8d6b5eba15e755451624b77a7601e94fc5d9 (patch) | |
tree | 32ecff75e9dcf7178cdd4d817348da60ee7ae19f /tests/qtcore | |
parent | 29f6a260e49a6955dd12d354400d9ee6cfd6ddc7 (diff) |
Fixing imports and adding test checking classes
Diffstat (limited to 'tests/qtcore')
-rw-r--r-- | tests/qtcore/qstatemachine_test.py | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/qtcore/qstatemachine_test.py b/tests/qtcore/qstatemachine_test.py index 67e6ac0b6..08cfdffce 100644 --- a/tests/qtcore/qstatemachine_test.py +++ b/tests/qtcore/qstatemachine_test.py @@ -1,9 +1,23 @@ #!/usr/bin/python import unittest -from PySide.QtCore import QObject, QState, QFinalState, SIGNAL, QCoreApplication, QTimer, QStateMachine, QSignalTransition, QVariant, QParallelAnimationGroup, QPropertyAnimation +from PySide.QtCore import QObject, QState, QFinalState, SIGNAL +from PySide.QtCore import QTimer, QStateMachine +from PySide.QtCore import QParallelAnimationGroup from helper import UsesQCoreApplication + +class StateMachineTest(unittest.TestCase): + '''Check presence of State Machine classes''' + + def testBasic(self): + '''State machine classes''' + import PySide.QtCore + PySide.QtCore.QSignalTransition + PySide.QtCore.QPropertyAnimation + + + class QStateMachineTest(UsesQCoreApplication): def cb(self, *args): |