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
ISC Open Source Projects
Kea
Commits
0ee2267a
Commit
0ee2267a
authored
Jan 09, 2012
by
JINMEI Tatuya
Browse files
[1454] corrected minor typo
parent
25768c53
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/ddns/ddns.py.in
View file @
0ee2267a
...
...
@@ -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. tup
p
le
SocketSessionReceiver, eg. tuple
(socket, local_address, remote_address, data).
"""
# TODO: Implement the magic
...
...
src/bin/ddns/tests/ddns_test.py
View file @
0ee2267a
...
...
@@ -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 s
ession socket
receiver is stored in the dict
# Now the new s
ocket 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
))
...
...
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