Skip to content

Commit d131a45

Browse files
committed
Add FastAPI app with Docker, CI/CD, and linter checking flake8 and pytest
1 parent 5c0c8e8 commit d131a45

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/test_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
import sys
33
from unittest.mock import MagicMock, patch
44

5-
# Add root to sys.path for imports
5+
# Add src to sys.path for imports
66
sys.path.insert(
77
0,
88
os.path.abspath(
99
os.path.join(
1010
os.path.dirname(__file__),
1111
'..',
12+
'src', # <-- Add 'src' here to point to the source folder
1213
)
1314
),
1415
)

0 commit comments

Comments
 (0)