async def METHOD_NAME(mocked_job_template_runner):
    with aioresponses() as mocked:
        mocked.get(
            f"{mocked_job_template_runner.host}{CONFIG_SLUG}", status=401
        )
        with pytest.raises(ControllerApiException):
            await mocked_job_template_runner.get_config()