Commit be101587 authored by Jelte Jansen's avatar Jelte Jansen

[1455] okay, one more test

parent b5bfaf8c
......@@ -340,6 +340,16 @@ class SessionTest(unittest.TestCase):
self.__check_prerequisite_exists_value(False, self.__datasrc_client,
rrset)
# and test one 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))
rrset.add_rdata(isc.dns.Rdata(isc.dns.RRType.A(),
isc.dns.RRClass.IN(),
"192.0.2.1"))
self.__check_prerequisite_exists_value(False, self.__datasrc_client,
rrset)
def test_check_prerequisite_does_not_exist(self):
# This is essentially the same as test_check_prerequisite_exists(),
# but with the opposite resulting values
......
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