Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
ea780724
Commit
ea780724
authored
Jan 21, 2013
by
Mukund Sivaraman
Browse files
[2644] Fix test failures in notify_out_test.py under Python 3.3
parent
443be431
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/python/isc/notify/tests/notify_out_test.py
View file @
ea780724
...
...
@@ -436,7 +436,9 @@ class TestNotifyOut(unittest.TestCase):
self
.
_notify
.
_notify_infos
[(
'example.com.'
,
'IN'
)].
notify_timeout
=
time
.
time
()
+
5
timeout
,
valid_fds
,
notifying_zones
=
self
.
_notify
.
_prepare_select_info
()
self
.
assertEqual
(
timeout
,
0
)
self
.
assertListEqual
([
2
,
1
],
valid_fds
)
self
.
assertEqual
(
len
(
valid_fds
),
2
)
self
.
assertIn
(
1
,
valid_fds
)
self
.
assertIn
(
2
,
valid_fds
)
def
test_shutdown
(
self
):
thread
=
self
.
_notify
.
dispatcher
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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