This commit is contained in:
2025-01-20 15:38:15 +08:00
parent a0b76f1d51
commit b9cde3e874
14 changed files with 161 additions and 9 deletions

View File

@@ -0,0 +1,7 @@
import os
import sys
from pathlib import Path
# Add the src directory to the Python path
src_path = Path(__file__).parent.parent / "app"
sys.path.insert(0, str(src_path))

View File

@@ -0,0 +1,10 @@
from pathlib import Path
import pytest
from app.core.config import Settings
def test_settings_default_values():
settings = Settings()
assert settings.APP_NAME == "{{ cookiecutter.project_name }}"