remove unuseful assignement in tests
This commit is contained in:
		| @@ -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) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alan Boudreault
					Alan Boudreault