aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qtcore/qtnamespace_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtcore/qtnamespace_test.py')
-rw-r--r--tests/qtcore/qtnamespace_test.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/qtcore/qtnamespace_test.py b/tests/qtcore/qtnamespace_test.py
new file mode 100644
index 000000000..3343a276b
--- /dev/null
+++ b/tests/qtcore/qtnamespace_test.py
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+'''Test suite for QtCore.Qt namespace'''
+
+import unittest
+
+from PySide.QtCore import Qt
+
+class QtNamespace(unittest.TestCase):
+ '''Test case for accessing attributes from Qt namespace'''
+
+ def testBasic(self):
+ #Access to Qt namespace
+ getattr(Qt, 'Horizontal')
+ getattr(Qt, 'WindowMaximizeButtonHint')
+ self.assert_(True)
+
+
+if __name__ == '__main__':
+ unittest.main()