mirror of
https://github.com/Sea-Haven-Industries/afterhours-shift-manager.git
synced 2026-09-30 07:53:11 +00:00
Move HTTP and scheduled work onto one always-on Flask task so after-hours loses Lambda cold start without changing the Cognito or roster contracts.
7 lines
355 B
TOML
7 lines
355 B
TOML
[tool.pytest.ini_options]
|
|
# `src/shared` on the path makes the `shared` layer package importable as it is at
|
|
# runtime. Each Lambda's own `app.py` is loaded under a unique name by the
|
|
# per-package conftest (importlib mode) to avoid the four-`app.py` collision.
|
|
pythonpath = ["src", "src/shared"]
|
|
testpaths = ["tests"]
|
|
addopts = "--import-mode=importlib"
|