Commits

Owen Nelson committed ae3815a

ipv6 tests

Comments (0)

Files changed (1)

ipyfield/tests.py

         # null field is fine unspecified
         DummyModel.objects.create(field='1.1.1.1')
 
+    def test_ipv6_support(self):
+        obj = DummyModel.objects.create(field='2001:dead:beef::1')
+        self.assertEqual(obj.field.version(), 6)
 
+