@pytest.mark.parametrize('entrypoint,exp_status,exp_data,resp_alias', ((_get_list_services_calls() + _get_service_version_calls()) + _get_service_version_extras_calls()))
def test_forward_to_director(client, mocked_director_v0_service_api, entrypoint, exp_status, exp_data, resp_alias):
    response = client.get(entrypoint)
    assert (response.status_code == exp_status)
    assert (response.json() == exp_data)
    assert mocked_director_v0_service_api[resp_alias].called
@pytest.mark.parametrize('entrypoint,exp_status,exp_data,resp_alias', ((_get_list_services_calls() + _get_service_version_calls()) + _get_service_version_extras_calls()))
def test_forward_to_director(client, mocked_director_v0_service_api, entrypoint, exp_status, exp_data, resp_alias):
    response = client.get(entrypoint)
    assert (response.status_code == exp_status)
    assert (response.json() == exp_data)
    assert mocked_director_v0_service_api[resp_alias].called