Parcourir la source

[1371] added missing checks

JINMEI Tatuya il y a 13 ans
Parent
commit
2eb9f48661
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/bin/xfrout/tests/xfrout_test.py.in

+ 3 - 0
src/bin/xfrout/tests/xfrout_test.py.in

@@ -941,6 +941,9 @@ class TestXfroutSessionWithSQLite3(TestXfroutSessionBase):
                             create_soa(2011112001),
                             create_a(Name(self.ns_name), '192.0.2.1'),
                             create_soa(2011112001)]
+        self.assertEqual(len(expected_records), len(actual_records))
+        for (expected_rr, actual_rr) in zip(expected_records, actual_records):
+            self.assertTrue(expected_rr, actual_rr)
 
     def test_ixfr_soa_only(self):
         # The requested SOA serial is the latest one.  The response should