1.1.1.1 == one.one.one.one

This commit is contained in:
Thomas Waldmann 2018-09-30 20:53:26 +02:00
parent c206004084
commit fe7b1bc0cb

View File

@ -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