1.1.1.1 == one.one.one.one
This commit is contained in:
parent
c206004084
commit
fe7b1bc0cb
@ -119,11 +119,11 @@ class TestQuery(object):
|
||||
|
||||
class TestReverseLookup(object):
|
||||
def test_rev_lookup_v4(self):
|
||||
name, ip = '1dot1dot1dot1.cloudflare-dns.com', '1.1.1.1'
|
||||
name, ip = 'one.one.one.one', '1.1.1.1'
|
||||
assert rev_lookup(ip) == name
|
||||
|
||||
def test_rev_lookup_v6(self):
|
||||
name, ip = '1dot1dot1dot1.cloudflare-dns.com', '2606:4700:4700::1111'
|
||||
name, ip = 'one.one.one.one', '2606:4700:4700::1111'
|
||||
assert rev_lookup(ip) == name
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user