diff options
| author | Bob Halley <halley@dnspython.org> | 2021-11-16 07:17:02 -0800 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2021-11-16 07:17:02 -0800 |
| commit | e35de75ae3df365055f62f787b3cbe4ba25364cc (patch) | |
| tree | 0e2ee43a72922a81b19f71b0583b368f8f9353f0 /tests/test_bugs.py | |
| parent | 3d51bf062fc4ef245abc066dead6d3ec0f976459 (diff) | |
| download | dnspython-e35de75ae3df365055f62f787b3cbe4ba25364cc.tar.gz | |
Do not impose 2**31-1 bounds on TTL-like things; impose 2**32-1.
Diffstat (limited to 'tests/test_bugs.py')
| -rw-r--r-- | tests/test_bugs.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/test_bugs.py b/tests/test_bugs.py index b9636a6..3080e50 100644 --- a/tests/test_bugs.py +++ b/tests/test_bugs.py @@ -42,11 +42,6 @@ class BugsTestCase(unittest.TestCase): u"a b 100 1 60 3600 86400") self.assertEqual(rdata1, rdata2) - def test_TTL_bounds_check(self): - def bad(): - dns.ttl.from_text("2147483648") - self.assertRaises(dns.ttl.BadTTL, bad) - def test_empty_NSEC3_window(self): rdata = dns.rdata.from_text(dns.rdataclass.IN, dns.rdatatype.NSEC3, u"1 0 100 ABCD SCBCQHKU35969L2A68P3AD59LHF30715") |
