Skip to content

Commit 157e29a

Browse files
committed
zdar
1 parent 98144ca commit 157e29a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import os
22
import sys
3+
34
import pytest
45

56
# Add /app to sys.path so we can import app.py
67
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
78

8-
from app import app as flask_app # ✅ this should now work
9+
from app import app as flask_app # noqa: E402
910

1011

1112
@pytest.fixture

0 commit comments

Comments
 (0)