aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/qpen_test.py
blob: f9e9b186152e55883ec540d162cdadd828786fc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

import unittest

from PySide.QtCore import Qt
from PySide.QtGui import QPen

class QPenTest(unittest.TestCase):

    def testCtorWithCreatedEnums(self):
        '''A simple case of QPen creation using created enums.'''
        width = 0
        style = Qt.PenStyle(0)
        cap = Qt.PenCapStyle(0)
        join = Qt.PenJoinStyle(0)
        pen = QPen(Qt.blue, width, style, cap, join)


if __name__ == '__main__':
    unittest.main()