Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
df7eb5ea
Commit
df7eb5ea
authored
Jan 23, 2012
by
Michal 'vorner' Vaner
Browse files
[1454] Rests of renaming
There were two instances left the last time.
parent
b8fec5c4
Changes
2
Show whitespace changes
Inline
Side-by-side
src/bin/ddns/ddns.py.in
View file @
df7eb5ea
...
...
@@ -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]
...
...
src/bin/ddns/tests/ddns_test.py
View file @
df7eb5ea
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment