diff options
Diffstat (limited to 'tests/QtCore/qqtversion_test.py')
-rw-r--r-- | tests/QtCore/qqtversion_test.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/QtCore/qqtversion_test.py b/tests/QtCore/qqtversion_test.py new file mode 100644 index 000000000..344de69ad --- /dev/null +++ b/tests/QtCore/qqtversion_test.py @@ -0,0 +1,18 @@ + +import unittest + +from PySide import QtCore + + +class QQtVersionTest(unittest.TestCase): + '''Tests for QtCore.QT_VERSION and QT_VERSION_STR''' + + def testVersion(self): + self.assert_(hex(QtCore.QT_VERSION) > 0x40500) + + def testVersionStr(self): + self.assert_(QtCore.QT_VERSION_STR) + + +if __name__ == '__main__': + unittest.main() |