We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58e4552 commit b7f4435Copy full SHA for b7f4435
1 file changed
tests/strings/uuid4_test.py
@@ -21,6 +21,16 @@ def test_vo_different_hash(self):
21
not_equal_vo_hash = hash(self._cls('c8ab500c-bd40-4bb2-8feb-efb22404f404'))
22
self.assertNotEqual(original_vo_hash, not_equal_vo_hash)
23
24
+ def test_vo_equality(self):
25
+ original_vo = self._cls('e88cf76c-904b-4f4f-81ee-8524a60bf5d0')
26
+ equal_vo = self._cls('e88cf76c-904b-4f4f-81ee-8524a60bf5d0')
27
+ self.assertEqual(original_vo, equal_vo)
28
+
29
+ def test_vo_different_equality(self):
30
31
+ different_vo = self._cls('c8ab500c-bd40-4bb2-8feb-efb22404f404')
32
+ self.assertNotEqual(original_vo, different_vo)
33
34
def test_value_return_input_value(self):
35
the_uuid = str(uuid.uuid4())
36
vo = Uuid4(the_uuid)
0 commit comments