Parcourir la source

[1454] corrected minor typo

JINMEI Tatuya il y a 13 ans
Parent
commit
0ee2267ab3
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      src/bin/ddns/ddns.py.in
  2. 1 1
      src/bin/ddns/tests/ddns_test.py

+ 1 - 1
src/bin/ddns/ddns.py.in

@@ -147,7 +147,7 @@ class DDNSServer:
         around it that calls it from time to time.
 
         It is called with the request being session as received from
-        SocketSessionReceiver, eg. tupple
+        SocketSessionReceiver, eg. tuple
         (socket, local_address, remote_address, data).
         """
         # TODO: Implement the magic

+ 1 - 1
src/bin/ddns/tests/ddns_test.py

@@ -194,7 +194,7 @@ class TestDDNSServer(unittest.TestCase):
         ddns.isc.util.io.socketsession.SocketSessionReceiver = FakeSession
         self.assertEqual({}, self.ddns_server._socket_sessions)
         self.ddns_server.accept()
-        # Now the new session socket receiver is stored in the dict
+        # Now the new socket session receiver is stored in the dict
         self.assertEqual([3], list(self.ddns_server._socket_sessions.keys()))
         (socket, session) = self.ddns_server._socket_sessions[3]
         self.assertTrue(isinstance(socket, FakeSocket))