summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/QtCore/hash_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/QtCore/hash_test.py b/tests/QtCore/hash_test.py
index 6ff24f3..bf02176 100644
--- a/tests/QtCore/hash_test.py
+++ b/tests/QtCore/hash_test.py
@@ -10,16 +10,19 @@ class HashTest(unittest.TestCase):
qdatetime = QDateTime.currentDateTime()
qtime = QTime.currentTime()
qurl = QUrl("http://www.pyside.org")
+ qpoint = QPoint(12, 42)
myHash[qdate] = "QDate"
myHash[qdatetime] = "QDateTime"
myHash[qtime] = "QTime"
myHash[qurl] = "QUrl"
+ myHash[qpoint] = "QPoint"
self.assertEqual(myHash[qdate], "QDate")
self.assertEqual(myHash[qdatetime], "QDateTime")
self.assertEqual(myHash[qtime], "QTime")
self.assertEqual(myHash[qurl], "QUrl")
+ self.assertEqual(myHash[qpoint], "QPoint")
def testQPointHash(self):
p1 = QPoint(12, 34)