aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore/qqtversion_test.py
blob: 344de69ad43dc1776ac86faed7bcd1bc242ddc7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()