Commit 0ee2267a authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1454] corrected minor typo

parent 25768c53
......@@ -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
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment