From: Mukund Sivaraman Date: Tue, 29 Jan 2013 05:11:19 +0000 (+0530) Subject: [2390] Adjust some more tests for NS construction changes X-Git-Tag: bind10-1.0.0-rc-release~67 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff930eca8ab894a76eb0a695ebde98a7bf117d45;p=thirdparty%2Fkea.git [2390] Adjust some more tests for NS construction changes --- diff --git a/src/lib/python/isc/ddns/tests/session_tests.py b/src/lib/python/isc/ddns/tests/session_tests.py index f7c2d3cbde..6a67c3a404 100644 --- a/src/lib/python/isc/ddns/tests/session_tests.py +++ b/src/lib/python/isc/ddns/tests/session_tests.py @@ -543,7 +543,7 @@ class SessionTest(SessionTestBase): self.__prereq_helper(method, False, rrset) add_rdata(rrset, "ns1.example.org.") self.__prereq_helper(method, False, rrset) - add_rdata(rrset, "ns2.example.org") + add_rdata(rrset, "ns2.example.org.") self.__prereq_helper(method, False, rrset) add_rdata(rrset, "ns3.example.org.") self.__prereq_helper(method, True, rrset) @@ -703,13 +703,13 @@ class SessionTest(SessionTestBase): rrset_exists_value_1 = create_rrset("example.org", RRClass.IN(), RRType.NS(), 0, - [ "ns1.example.org" ]) + [ "ns1.example.org." ]) rrset_exists_value_2 = create_rrset("example.org", RRClass.IN(), RRType.NS(), 0, - [ "ns2.example.org" ]) + [ "ns2.example.org." ]) rrset_exists_value_3 = create_rrset("example.org", RRClass.IN(), RRType.NS(), 0, - [ "ns3.example.org" ]) + [ "ns3.example.org." ]) # and a number that should not rrset_exists_no = create_rrset("foo.example.org", RRClass.ANY(), @@ -1339,7 +1339,7 @@ class SessionTest(SessionTestBase): # should not keep any self.__initialize_update_rrsets() new_ns = create_rrset("example.org", TEST_RRCLASS, RRType.NS(), 3600, - [ "newns1.example.org", "newns2.example.org" ]) + [ "newns1.example.org.", "newns2.example.org." ]) self.check_full_handle_result(Rcode.NOERROR(), [ new_ns,