velofy/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexander Hess 53e1859ee8
Query with select() in Grid and Path
`Session.query()` is the legacy API in SQLAlchemy 2.x.

Unlike `Query`, `select()` does not deduplicate single entities from a `JOIN`;
so, `Grid.gridify()` calls `.unique()` explicitly.

The `addresses_mock` fixtures mock the new call chain.
2026-12-01 23:29:39 +01:00
..
console Count rows with select() in the tests 2026-12-01 23:17:57 +01:00
db Query with select() in Grid and Path 2026-12-01 23:29:39 +01:00
forecasts Query with select() in Grid and Path 2026-12-01 23:29:39 +01:00
__init__.py Check the type annotations at runtime with typeguard 2026-12-01 17:07:00 +01:00
config.py Import velofy.config as pkg_config everywhere 2026-11-30 20:19:35 +01:00
conftest.py Seed the random fake data in the tests 2026-12-01 15:51:24 +01:00
test_config.py Use double quotes 2026-11-28 03:26:13 +01:00
test_init_r.py Enable PL in ruff 2026-11-30 22:28:12 +01:00
test_version.py Use double quotes 2026-11-28 03:26:13 +01:00