localhost wont always have an IPv6 address assigned to it
This commit is contained in:
parent
12654bd3a5
commit
880eee067d
|
@ -8,5 +8,5 @@ class HelperTests(TestCase):
|
||||||
self.assertEqual([['Error', u'Unable to resolve foobar.doesnotexist.local: [Errno -2] Name or service not known']],
|
self.assertEqual([['Error', u'Unable to resolve foobar.doesnotexist.local: [Errno -2] Name or service not known']],
|
||||||
response)
|
response)
|
||||||
response = helpers.ip_info("localhost")
|
response = helpers.ip_info("localhost")
|
||||||
self.assertEqual([['IPv4 (1)', u'127.0.0.1'], ['IPv6 (1)', u'::1']],
|
self.assertEqual([['IPv4 (1)', u'127.0.0.1']],
|
||||||
sorted(response))
|
sorted(response))
|
||||||
|
|
Loading…
Reference in New Issue