Browse Source

[2252] minor editorial fixes: combine short lines; typo

JINMEI Tatuya 12 years ago
parent
commit
5305956b8e
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/bin/xfrin/tests/xfrin_test.py

+ 2 - 3
src/bin/xfrin/tests/xfrin_test.py

@@ -2199,8 +2199,7 @@ class TestStatisticsXfrinAXFRv4(TestStatisticsXfrinConn):
         self.assertEqual(self.conn.do_xfrin(False), XFRIN_OK)
         self._check_updated_statistics({'axfrreq' + self.ipver: 1,
                                         'xfrsuccess': 1,
-                                        'last_axfr_duration':
-                                            self._const_sec})
+                                        'last_axfr_duration': self._const_sec})
 
     def test_axfrreq_xfrfail(self):
         '''tests that axfrreqv4 or axfrreqv6 and xfrfail counters are
@@ -2237,7 +2236,7 @@ class TestStatisticsXfrinIXFRv4(TestStatisticsXfrinConn):
 
     def test_ixfrreq_xfrfail(self):
         '''tests that ixfrreqv4 or ixfrreqv6 and xfrfail counters
-        are incremented when xfr succeeds'''
+        are incremented when xfr fails'''
         def create_response():
             self.conn.reply_data = self.conn.create_response_data(
                 questions=[Question(TEST_ZONE_NAME, TEST_RRCLASS,