]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2390] Adjust some more tests for NS construction changes
authorMukund Sivaraman <muks@isc.org>
Tue, 29 Jan 2013 05:11:19 +0000 (10:41 +0530)
committerMukund Sivaraman <muks@isc.org>
Tue, 29 Jan 2013 05:11:19 +0000 (10:41 +0530)
src/lib/python/isc/ddns/tests/session_tests.py

index f7c2d3cbde2b080654e56aad2390f773a2ed7753..6a67c3a404e7ffe4d7f45c8189715ead35717dd3 100644 (file)
@@ -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,