| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 2m47s
The global `db.session` is now a `scoped_session`, like, for example, in Flask-SQLAlchemy. Importing the package no longer creates an engine; so, the placeholder for the tests is obsolete. The `db_session` fixture replaces `db.session` with `monkeypatch` such that it is reset after each test. Tests without the fixture get a placeholder that fails loudly instead of opening a real session, which would block the `DROP SCHEMA` at the end of the test run. |
||
| .. | ||
| console | ||
| db | ||
| forecasts | ||
| __init__.py | ||
| config.py | ||
| conftest.py | ||
| test_config.py | ||
| test_init_r.py | ||
| test_version.py | ||