aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qtcore/qfileinfo_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtcore/qfileinfo_test.py')
-rw-r--r--tests/qtcore/qfileinfo_test.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/qtcore/qfileinfo_test.py b/tests/qtcore/qfileinfo_test.py
new file mode 100644
index 000000000..580b5a7d5
--- /dev/null
+++ b/tests/qtcore/qfileinfo_test.py
@@ -0,0 +1,17 @@
+
+import unittest
+
+import os
+import tempfile
+
+from PySide.QtCore import QFile, QFileInfo
+
+class QFileConstructor(unittest.TestCase):
+ '''QFileInfo constructor with qfile'''
+
+ def testBasic(self):
+ '''QFileInfo(QFile)'''
+ obj = QFileInfo(QFile())
+
+if __name__ == '__main__':
+ unittest.main()