Skip to content

Commit efaeb20

Browse files
committed
Fix useless tuple expression: remove extra comma
Signed-off-by: Enrico Usai <usai@amazon.com>
1 parent f8e68a9 commit efaeb20

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/slurm_plugin/test_clustermgtd.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -746,12 +746,7 @@ def test_handle_health_check(
746746
if health_check_type == ClusterManager.HealthCheckTypes.scheduled_event:
747747
mock_scheduled_health_check.assert_has_calls([call(), call()])
748748
else:
749-
mock_ec2_health_check.assert_has_calls(
750-
[
751-
call(mocker_current_time, 10),
752-
call(mocker_current_time, 10),
753-
]
754-
),
749+
mock_ec2_health_check.assert_has_calls([call(mocker_current_time, 10), call(mocker_current_time, 10)])
755750
if expected_failed_nodes:
756751
drain_node_mock.assert_called_with(expected_failed_nodes, reason=f"Node failing {health_check_type}")
757752
else:

0 commit comments

Comments
 (0)