Commit Graph

11 Commits

Author SHA1 Message Date
Agate c90ebaa684 dev: avoid connection to user database when running tests (#68312) 2022-08-22 11:13:08 +02:00
Frédéric Péters ae6d084cd0 tests: include bijoe in test database name 2022-05-15 10:58:53 +02:00
Benjamin Dauvergne 65d33f00b7 misc: apply pyupgrade/isort/black (#56062) 2021-08-09 15:35:48 +02:00
Benjamin Dauvergne 86a8568cd6 tests: really report SQL fixture errors (#38965)
Without the ON_ERROR_STOP flag `psql` does not report SQL errors thourgh
its exist status.
2020-01-21 10:43:13 +01:00
Benjamin Dauvergne 9cc619ee0d tests: add option to update tables during tests (#38067)
If table contents change, we can measure the change and eventually
accept by copying new_table.json to tables.json. To activate it, use
--bijoe-store-table .
2019-12-03 16:53:22 +01:00
Benjamin Dauvergne 7f4f373e89 tests: load schema2 fixture only one time (#38067)
Use special db fixture (using pytest-django primitives and
transaction.atomic()) to initialize bijoe visualization only one time
for all tests on the schema2 fixture. It improves tests run time.
2019-12-03 13:52:30 +01:00
Valentin Deniaud 90a5bb49c4 Revert "utils: cache warehouses (#27412)"
This reverts commit ba2c0c4fab.
2019-11-25 15:06:20 +01:00
Valentin Deniaud ba2c0c4fab utils: cache warehouses (#27412)
Disk reads take a long long time.
2019-11-21 11:54:21 +01:00
Benjamin Dauvergne 8d4a718c95 tests: add more real tests 2018-12-08 12:52:14 +01:00
Benjamin Dauvergne cde575ce88 tests: add real ones with fixtures (fixes #27482) 2018-12-06 17:28:45 +01:00
Benjamin Dauvergne a6959ccdab add missing tests and templates 2016-07-14 19:23:03 +02:00