Browse Source

[1454] Rests of renaming

There were two instances left the last time.
Michal 'vorner' Vaner 13 years ago
parent
commit
df7eb5eab5
2 changed files with 2 additions and 2 deletions
  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

@@ -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]

+ 1 - 1
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.