Skip to content

Commit 1995e98

Browse files
move import to top
1 parent 55aa52a commit 1995e98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
os.environ["JWT_SECRET_KEY"] = os.urandom(24).hex()
88

99
from app import app, db
10+
from tests import utils
11+
1012

1113

1214
@pytest.fixture
@@ -44,7 +46,6 @@ def _get_headers(email="[email protected]", password="testpassword"):
4446
register_user(email, password)
4547
resp = login_user(email, password)
4648
tokens = resp.get_json()
47-
from tests import utils
4849
return utils.get_auth_header(tokens["access_token"])
4950

5051
return _get_headers

0 commit comments

Comments
 (0)