Mouse Reeve
cf55a89816
Ups the max query time so that all tests pass
2024-08-09 13:59:04 -07:00
Mouse Reeve
d56a21e232
Merge branch 'main' into query-time
2024-08-09 13:47:52 -07:00
Mouse Reeve
26b6699b26
Moves query logger duration into pytest.ini file
2024-08-09 13:39:06 -07:00
Adeodato Simó
3d28019146
Use in-memory backends for Celery in tests and workflows
...
At the moment, this doesn't have much of an effect since most task
calls are mock'd out.
2024-07-28 06:42:11 -03:00
Bart Schuurmans
3aefbb548e
Allow serving BookWyrm on a non-standard port
2024-04-24 15:30:47 +02:00
Bart Schuurmans
baea105c18
pytest.ini env values should be unquoted
...
Otherwise the quotes end up in the strings.
2024-04-24 15:30:47 +02:00
Bart Schuurmans
3ba528ecdd
pytest.ini: define ALLOWED_HOSTS
...
This fixes running `./bw-dev pytest` locally when having a different value defined for
`ALLOWED_HOSTS` in `.env`.
2024-03-11 20:12:46 +01:00
Adeodato Simó
9d502f5ee2
Use setUpTestData() to speed up tests
...
Pylint's `bad-classmethod-argument` is disabled for each definition
to avoid rewriting the method bodies just to rename `self` → `cls`.
This can be done gradually, as the setUpTestData methods are modified
along the way.
2023-12-11 19:40:30 -03:00
Mouse Reeve
593d1638f9
Updates tests env
2022-01-09 12:04:45 -08:00
Faiazov Dmitrii
ce16f36fe8
Add sorting to shelf. Use table-sort-header
...
existing template.
Signed-off-by: Faiazov Dmitrii <jjsolutions0110@gmail.com>
2021-10-13 21:25:40 +03:00
Mouse Reeve
68f9b67fd9
Updates test
2021-08-02 19:30:42 -07:00
Jim Fingal
1f9891dcf5
Create example marker to avoid tests that require external domain
2020-11-08 13:07:37 -08:00
Jim Fingal
0b8a9cf1a6
Add support for pytest
2020-11-08 12:14:57 -08:00