diff options
| author | Bob Halley <halley@dnspython.org> | 2020-06-01 08:00:56 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2020-06-01 08:00:56 -0700 |
| commit | 77b9cdc41ffe002c0bb49f387b4f1fdbb190ff60 (patch) | |
| tree | 369b6147ddea3f8f0d1cb16cbdf3a85bfcd059b1 /tests | |
| parent | 5c586017087c038572a63b41b5da96e7cad063e7 (diff) | |
| download | dnspython-77b9cdc41ffe002c0bb49f387b4f1fdbb190ff60.tar.gz | |
remove digestable test in favor of another coming soon
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_bugs.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/test_bugs.py b/tests/test_bugs.py index e10f826..b9636a6 100644 --- a/tests/test_bugs.py +++ b/tests/test_bugs.py @@ -25,7 +25,6 @@ import dns.rdataclass import dns.rdatatype import dns.rdtypes.ANY.TXT import dns.ttl -from dns import rdata, rdataclass, rdatatype class BugsTestCase(unittest.TestCase): @@ -97,26 +96,6 @@ class BugsTestCase(unittest.TestCase): self.assertEqual(t1, t2) self.assertEqual(t1, t4) - def test_lowercase_canonicals(self): - for t, presentation_format in [ - ('SRV', '100 1 5061 EXAMPLE.com.'), - # TODO also check NS, MD, MF, CNAME, SOA, MB, MG, MR, PTR, - # HINFO, MINFO, MX, HINFO, RP, AFSDB, RT, SIG, PX, NXT, - # NAPTR, KX, SRV, DNAME, A6, RRSIG, or NSEC - ]: - canonical_format = rdata.from_text( - rdclass=rdataclass.IN, - rdtype=rdatatype.from_text(t), - tok=presentation_format, - relativize=False - ).to_digestable() - self.assertIn( - b'example', - canonical_format, - f'Expected canonical format of {t} record type to have ' - f'lowercase DNS names, but saw {canonical_format}.' - ) - if __name__ == '__main__': unittest.main() |
