From b2448f25e1ccb97c8bcd0d696b2783f9b5b1b45d Mon Sep 17 00:00:00 2001 From: Alan Boudreault Date: Wed, 24 May 2017 21:29:56 -0400 Subject: [PATCH] remove unuseful assignement in tests --- tests/unit/test_connection.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/unit/test_connection.py b/tests/unit/test_connection.py index 389ec326..ec9e1a3f 100644 --- a/tests/unit/test_connection.py +++ b/tests/unit/test_connection.py @@ -358,7 +358,6 @@ class ConnectionHeartbeatTest(unittest.TestCase): self.assertEqual(max_connection.send_msg.call_count, 0) self.assertEqual(max_connection.send_msg.call_count, 0) max_connection.defunct.assert_has_calls([call(ANY)] * get_holders.call_count) - holder.shutdown_on_error = True holder.return_connection.assert_has_calls( [call(max_connection)] * get_holders.call_count) @@ -388,7 +387,6 @@ class ConnectionHeartbeatTest(unittest.TestCase): exc = connection.defunct.call_args_list[0][0][0] self.assertIsInstance(exc, ConnectionException) self.assertRegexpMatches(exc.args[0], r'^Received unexpected response to OptionsMessage.*') - holder.shutdown_on_error = True holder.return_connection.assert_has_calls( [call(connection)] * get_holders.call_count) @@ -419,7 +417,6 @@ class ConnectionHeartbeatTest(unittest.TestCase): self.assertIsInstance(exc, OperationTimedOut) self.assertEqual(exc.errors, 'Connection heartbeat timeout after 0.05 seconds') self.assertEqual(exc.last_host, 'localhost') - holder.shutdown_on_error = True holder.return_connection.assert_has_calls( [call(connection)] * get_holders.call_count)