Alexander Hess
fc185fa3c0
CI / Checks (Python 3.13) (push) Successful in 2m47s
Create the engine and the session on first use
...
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.
2026-12-02 00:23:41 +01:00
..
fake_data
Generate the fake coordinates as floats
2026-12-01 15:27:53 +01:00
replay
Count rows with select() in the tests
2026-12-01 23:17:57 +01:00
utils
Enable "warn_unreachable"
2026-12-01 13:07:53 +01:00
__init__.py
Add an ORM layer
2020-08-11 10:28:17 +02:00
test_addresses.py
Count rows with select() in the tests
2026-12-01 23:17:57 +01:00
test_addresses_addresses.py
Count rows with select() in the tests
2026-12-01 23:17:57 +01:00
test_addresses_pixels.py
Count rows with select() in the tests
2026-12-01 23:17:57 +01:00
test_cities.py
Count rows with select() in the tests
2026-12-01 23:17:57 +01:00
test_connection.py
Create the engine and the session on first use
2026-12-02 00:23:41 +01:00
test_couriers.py
Count rows with select() in the tests
2026-12-01 23:17:57 +01:00
test_customer.py
Count rows with select() in the tests
2026-12-01 23:17:57 +01:00
test_forecasts.py
Count rows with select() in the tests
2026-12-01 23:17:57 +01:00
test_grids.py
Query with select() in Grid and Path
2026-12-01 23:29:39 +01:00
test_orders.py
Count rows with select() in the tests
2026-12-01 23:17:57 +01:00
test_pixels.py
Request the db_session fixture
2026-12-02 00:19:51 +01:00
test_restaurants.py
Count rows with select() in the tests
2026-12-01 23:17:57 +01:00