Commit ea780724 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2644] Fix test failures in notify_out_test.py under Python 3.3

parent 443be431
......@@ -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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment