diff --git a/tests/supervisor/views/test_run_code.py b/tests/supervisor/views/test_run_code.py index 639a8f7b..0c42b524 100644 --- a/tests/supervisor/views/test_run_code.py +++ b/tests/supervisor/views/test_run_code.py @@ -21,7 +21,7 @@ async def test_run_code_from_invalid_path(aiohttp_client): app = web.Application() - app.router.add_route("*", "/vm/{ref}{suffix:.*}", run_code_from_path), + app.router.add_route("*", "/vm/{ref}{suffix:.*}", run_code_from_path) client = await aiohttp_client(app) invalid_hash_request: web.Request = make_mocked_request(