def test_get_maintenance_schedule( mock_operator_api, ): get_maintenance_schedule() assert mock_operator_api.call_count == 1 assert mock_operator_api.return_value.call_count == 1 assert mock_operator_api.return_value.call_args == mock.call(data={"type": "GET_MAINTENANCE_SCHEDULE"})
def test_get_maintenance_schedule( mock_get_schedule_client, ): get_maintenance_schedule() assert mock_get_schedule_client.call_count == 1 assert mock_get_schedule_client.return_value.call_count == 1 assert mock_get_schedule_client.return_value.call_args == mock.call(method="GET", endpoint="")
def test_get_maintenance_schedule( mock_get_schedule_client, ): get_maintenance_schedule() assert mock_get_schedule_client.call_count == 1 assert mock_get_schedule_client.return_value.call_count == 1 assert mock_get_schedule_client.return_value.call_args == mock.call(method="GET", endpoint="")