]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1454] Rests of renaming
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 23 Jan 2012 16:05:57 +0000 (17:05 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 23 Jan 2012 16:05:57 +0000 (17:05 +0100)
There were two instances left the last time.

src/bin/ddns/ddns.py.in
src/bin/ddns/tests/ddns_test.py

index 7d30132060b8c0f190fa7174cd1c6689d1175b4c..ef2ae23a336fc21b8da1ca43ade0914cf943b705 100755 (executable)
@@ -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]
index daa8a38d76b65bca60d41b023bca7df006b6a1bd..5c35bed65ee68b9b41486c94267824bc4232dbda 100755 (executable)
@@ -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.