Commit 788dbb80 authored by Jelte Jansen's avatar Jelte Jansen

[1455] one additional test case

parent ffdd7099
......@@ -217,6 +217,12 @@ class SessionTest(unittest.TestCase):
isc.dns.RRTTL(0))
self.__check_prerequisite_exists(False, self.__datasrc_client, rrset)
# Also check the case where the name does not even exist
rrset = isc.dns.RRset(isc.dns.Name("doesnotexist.example.org"),
isc.dns.RRClass.IN(), isc.dns.RRType.A(),
isc.dns.RRTTL(0))
self.__check_prerequisite_exists(False, self.__datasrc_client, rrset)
# Wildcard expansion should not be applied, but literal matches
# should work
rrset = isc.dns.RRset(isc.dns.Name("foo.wildcard.example.org"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment