From: Mukund Sivaraman Date: Sun, 20 Jan 2013 19:20:46 +0000 (+0530) Subject: [2644] Fix test failures in notify_out_test.py under Python 3.3 X-Git-Tag: bind10-1.0.0-rc-release~76^2~5^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea780724240cfb2e065d3cfac7a32ba16e931dc3;p=thirdparty%2Fkea.git [2644] Fix test failures in notify_out_test.py under Python 3.3 --- diff --git a/src/lib/python/isc/notify/tests/notify_out_test.py b/src/lib/python/isc/notify/tests/notify_out_test.py index b9183e0396..60c8f2ffd9 100644 --- a/src/lib/python/isc/notify/tests/notify_out_test.py +++ b/src/lib/python/isc/notify/tests/notify_out_test.py @@ -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()