aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/qtgui/qcolor_test.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/qtgui/qcolor_test.py b/tests/qtgui/qcolor_test.py
index 91ef3225e..7a23fb766 100644
--- a/tests/qtgui/qcolor_test.py
+++ b/tests/qtgui/qcolor_test.py
@@ -59,5 +59,12 @@ class QColorQRgbConstructor(unittest.TestCase):
self.assertEqual(QColor(rgb), color)
+class QColorEqualGlobalColor(unittest.TestCase):
+
+ def testEqualGlobalColor(self):
+ '''QColor == Qt::GlobalColor'''
+ self.assertEqual(QColor(255, 0, 0), Qt.red)
+
+
if __name__ == '__main__':
unittest.main()