From: Michal 'vorner' Vaner Date: Mon, 23 Jan 2012 16:05:57 +0000 (+0100) Subject: [1454] Rests of renaming X-Git-Tag: trac2351_base~275^2~7^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df7eb5eab53ef88f7cfe704aaa72fc1218cb7f95;p=thirdparty%2Fkea.git [1454] Rests of renaming There were two instances left the last time. --- diff --git a/src/bin/ddns/ddns.py.in b/src/bin/ddns/ddns.py.in index 7d30132060..ef2ae23a33 100755 --- a/src/bin/ddns/ddns.py.in +++ b/src/bin/ddns/ddns.py.in @@ -171,7 +171,7 @@ class DDNSServer: def handle_session(self, fileno): """ - Handle incoming event on the socket with given fileno. + Handle incoming session on the socket with given fileno. """ logger.debug(TRACE_BASIC, DDNS_SESSION, fileno) (socket, receiver) = self._socksession_receivers[fileno] diff --git a/src/bin/ddns/tests/ddns_test.py b/src/bin/ddns/tests/ddns_test.py index daa8a38d76..5c35bed65e 100755 --- a/src/bin/ddns/tests/ddns_test.py +++ b/src/bin/ddns/tests/ddns_test.py @@ -241,7 +241,7 @@ class TestDDNSServer(unittest.TestCase): self.assertTrue(isinstance(receiver, FakeSessionReceiver)) self.assertEqual(socket, receiver.socket()) - def test_incoming_called(self): + def test_session_called(self): """ Test the run calls handle_session when there's something on the socket.