aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/qtmaemo5/qmaemo5import_test.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/qtmaemo5/qmaemo5import_test.py b/tests/qtmaemo5/qmaemo5import_test.py
new file mode 100644
index 000000000..a003f056a
--- /dev/null
+++ b/tests/qtmaemo5/qmaemo5import_test.py
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+import unittest
+from PySide.QtMaemo5 import *
+from PySide import QtGui
+
+from helper import UsesQApplication
+
+class QtMamo5Test(UsesQApplication):
+
+ def testObjectCreate(self):
+ bar = QMaemo5EditBar()
+ self.assert_(isinstance(bar, QMaemo5EditBar))
+
+ def testGui(self):
+ getattr(QtGui, 'QAbstractKineticScroller')
+
+if __name__ == '__main__':
+ unittest.main()
+