diff options
| author | Brian Wellington <bwelling@xbill.org> | 2020-06-30 12:23:59 -0700 |
|---|---|---|
| committer | Brian Wellington <bwelling@xbill.org> | 2020-06-30 12:23:59 -0700 |
| commit | 8cfbca6a255a64f127c58034bbd32189a9cb5af4 (patch) | |
| tree | df186537f972058bfd4422ab6a64f7b28ada6b04 | |
| parent | 4a1af791e410ba9b883c6beecc5eeaf4c6df518d (diff) | |
| download | dnspython-8cfbca6a255a64f127c58034bbd32189a9cb5af4.tar.gz | |
One more dnssec test.
| -rw-r--r-- | tests/test_dnssec.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_dnssec.py b/tests/test_dnssec.py index caf3f36..e99d3be 100644 --- a/tests/test_dnssec.py +++ b/tests/test_dnssec.py @@ -327,6 +327,10 @@ class DNSSECValidatorTestCase(unittest.TestCase): keys[name].rdatasets.append(key_rrset.to_rdataset()) dns.dnssec.validate(abs_soa, abs_soa_rrsig, keys, None, when) + # Pass origin as a string, not a name. + dns.dnssec.validate(rel_soa, rel_soa_rrsig, rel_keys, + 'dnspython.org', when) + class DNSSECMakeDSTestCase(unittest.TestCase): def testMakeExampleSHA1DS(self): # type: () -> None |
