Commit graph

9 commits

Author SHA1 Message Date
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