]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2252] update documentation for the test cases
authorNaoki Kambe <kambe@jprs.co.jp>
Thu, 25 Apr 2013 02:27:54 +0000 (11:27 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Thu, 25 Apr 2013 02:37:58 +0000 (11:37 +0900)
src/bin/xfrin/tests/xfrin_test.py

index 651b2666c05004245fa27ee231ae08c7b591b319..07d4e4bcce223164004db53e73c98c8347095966 100644 (file)
@@ -2208,8 +2208,8 @@ class TestStatisticsXfrinAXFRv4(TestStatisticsXfrinConn):
 
     def test_axfrreq_xfrsuccess_last_axfr_duration2(self):
         '''tests that axfrreqv4 or axfrreqv6 and xfrsuccess counters
-        and last_axfr_duration timer are incremented even if a successful
-        XfrinZoneUptodate is raised while handling an xfr response'''
+        and last_axfr_duration timer are incremented when raising
+        XfrinZoneUptodate. The exception is treated as success.'''
         def exception_raiser():
             raise XfrinZoneUptodate()
         self.conn._handle_xfrin_responses = exception_raiser
@@ -2257,8 +2257,8 @@ class TestStatisticsXfrinIXFRv4(TestStatisticsXfrinConn):
 
     def test_ixfrreq_xfrsuccess_last_ixfr_duration2(self):
         '''tests that ixfrreqv4 or ixfrreqv6 and xfrsuccess counters
-        and last_ixfr_duration timer are incremented even if a successful
-        XfrinZoneUptodate is raised while handling an xfr response'''
+        and last_ixfr_duration timer are incremented when raising
+        XfrinZoneUptodate. The exception is treated as success.'''
         def exception_raiser():
             raise XfrinZoneUptodate()
         self.conn._handle_xfrin_responses = exception_raiser