aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qtcore/qstring_qkeysequence_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtcore/qstring_qkeysequence_test.py')
-rw-r--r--tests/qtcore/qstring_qkeysequence_test.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/qtcore/qstring_qkeysequence_test.py b/tests/qtcore/qstring_qkeysequence_test.py
new file mode 100644
index 000000000..d39459cef
--- /dev/null
+++ b/tests/qtcore/qstring_qkeysequence_test.py
@@ -0,0 +1,18 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+'''Tests QString using QKeySequence parameter'''
+
+import unittest
+
+from PySide.QtCore import QString
+from PySide.QtGui import QKeySequence
+
+class QStringQKeySequenceTest(unittest.TestCase):
+ '''Tests QString using QKeySequence parameter'''
+
+ def testQStringQKeySequence(self):
+ a = QString(QKeySequence("Ctrl+A"))
+
+if __name__ == '__main__':
+ unittest.main()
+