Added pytest configuration and first 4 unit tests
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m4s

This commit is contained in:
2025-05-27 17:37:05 -05:00
parent 4b1a7e9bea
commit cebbb9c1a8
14 changed files with 205 additions and 15 deletions

19
pytest.ini Normal file
View File

@@ -0,0 +1,19 @@
[pytest]
testpaths = tests
python_files = test_*.py
python_functions = test_*
asyncio_mode = auto
filterwarnings =
ignore::DeprecationWarning:botocore.auth
# Coverage configuration
addopts =
--cov=app
--cov-report=term-missing
# Test markers
markers =
slow: mark tests as slow running
integration: integration tests
unit: unit tests
db: tests requiring database