]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Typos in comments 8477/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 5 Nov 2019 09:04:33 +0000 (10:04 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 8 Nov 2019 08:39:29 +0000 (09:39 +0100)
regression-tests.recursor-dnssec/test_Protobuf.py

index 8bc65007f3ac21507b8efd161568c610be777aa7..9a5d72fc4c5032b6ef5f9f376d93125f6f3fb206 100644 (file)
@@ -129,7 +129,7 @@ class TestRecursorProtobuf(RecursorTest):
         self.assertEquals(msg.id, query.id)
         self.assertTrue(msg.HasField('inBytes'))
         if normalQueryResponse:
-            # compare inBytes with length off query/response
+            # compare inBytes with length of query/response
             # Note that for responses, the size we received might differ
             # because dnspython might compress labels differently from
             # the recursor
@@ -158,7 +158,7 @@ class TestRecursorProtobuf(RecursorTest):
         if length is not None:
           self.assertEquals(msg.inBytes, length)
         else:
-          # compare inBytes with length off query/response
+          # compare inBytes with length of query/response
           self.assertEquals(msg.inBytes, len(query.to_wire()))
 
     def checkProtobufQuery(self, msg, protocol, query, qclass, qtype, qname, initiator='127.0.0.1'):
@@ -351,7 +351,7 @@ class OutgoingProtobufDefaultTest(TestRecursorProtobuf):
 
     _confdir = 'OutgoingProtobufDefault'
     _config_template = """
-    # Switch of QName Minimization, it generates much more protobuf messages
+    # Switch off QName Minimization, it generates much more protobuf messages
     # (or make the test much more smart!)
     qname-minimization=no
     auth-zones=example=configs/%s/example.zone""" % _confdir
@@ -383,7 +383,7 @@ class OutgoingProtobufNoQueriesTest(TestRecursorProtobuf):
 
     _confdir = 'OutgoingProtobufNoQueries'
     _config_template = """
-    # Switch of QName Minimization, it generates much more protobuf messages
+    # Switch off QName Minimization, it generates much more protobuf messages
     # (or make the test much more smart!)
     qname-minimization=no
     auth-zones=example=configs/%s/example.zone""" % _confdir