Commit 3d4f3cd9 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

Merge branch 'trac2644'

parents 443be431 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()
......
Markdown is supported
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