Browse Source

also test with (partially) exploded ipv4-mapped addresses (#1880)

pull/1885/head
jcfp 4 years ago
committed by GitHub
parent
commit
7d3907fa0e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tests/test_misc.py

3
tests/test_misc.py

@ -464,6 +464,9 @@ class TestMisc:
("2007::ffff:2021", "2007::ffff:2021"),
("12.34.56.78", "12.34.56.78"),
("foobar", "foobar"),
("0:0:0:0:0:ffff:8.8.4.4", "8.8.4.4"),
("0000:0000:0000:0000:0000:ffff:1.0.0.1", "1.0.0.1"),
("0000::0:ffff:1.1.1.1", "1.1.1.1"),
],
)
def test_strip_ipv4_mapped_notation(self, ip, result):

Loading…
Cancel
Save