blob: 3343a276b4dc85ddacfb5d52cbc6b935e4122208 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()
|