Added pytest configuration and first 4 unit tests
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m4s
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m4s
This commit is contained in:
19
pytest.ini
Normal file
19
pytest.ini
Normal 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
|
||||
Reference in New Issue
Block a user