From d4ca6ba1aa6775c6645005d63617253a6df23024 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Wed, 28 Dec 2022 14:39:04 +0100 Subject: [PATCH] fixed imports --- test/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/main.py b/test/main.py index 01b0a7e..8c242aa 100644 --- a/test/main.py +++ b/test/main.py @@ -11,13 +11,12 @@ from jose.constants import ALGORITHMS from starlette.testclient import TestClient import sys -from app.util import generate_key, load_key - # add relative path to use packages as they were in the app/ dir sys.path.append('../') sys.path.append('../app') from app import main +from app.util import generate_key, load_key client = TestClient(main.app)