| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 10 days | speed up track adding in test_browse | Daniel Schadt | |
| 10 days | add smoke test for pdf generation | Daniel Schadt | |
| This doesn't check any content of the PDF, but ensures that running typst does not produce an error. | |||
| 10 days | ignore matploblib debug logs in tests | Daniel Schadt | |
| matplotlib procudes a lot of lines for the font manager, which really clutter the log output for everything else. | |||
| 2025-11-25 | add unit tests for typst escaping | Daniel Schadt | |
| 2025-11-16 | fix lint | Daniel Schadt | |
| 2025-11-16 | properly clean up track cache in test | Daniel Schadt | |
| 2025-11-16 | further speed up tests | Daniel Schadt | |
| A lot of time in test_browse was spent retrieving path points and computing metadata. Why not save it while we still have the path ready? | |||
| 2025-11-16 | fix lint | Daniel Schadt | |
| 2025-11-16 | speed up track insertion | Daniel Schadt | |
| It turns out that adding multiple thousands of track points via the ORM is quite slow, which is especially noticable in the browse_paged test (as 50 tracks are added there). This provides the fast_set_path method, which goes directly to the database, utilizing the executemany() capability. On the CI, the gpx-influx decreased test runtime from ~4min to ~18min. This change should make it much faster again. | |||
| 2025-11-01 | fix tests | Daniel Schadt | |
| With the values being computed ourselves, they differ a bit from the previous gpxpy values. Therefore, we adjust the expected values in the tests. | |||
| 2025-06-18 | add tests for browse pagination | Daniel Schadt | |
| 2025-06-10 | fix lints | Daniel Schadt | |
| 2025-06-08 | fix filenames in archive test | Daniel Schadt | |
| 2025-06-08 | fix archive test | Daniel Schadt | |
| We might not always get the IDs as 1 and 2, so we need to adapt. | |||
| 2025-06-08 | close SQL connections in tests | Daniel Schadt | |
| Otherwise Postgres does not let us drop the tables and hangs forever | |||
| 2025-06-07 | clean up database after bootstrap test | Daniel Schadt | |
| 2025-06-07 | bootstrap test: install psycopg | Daniel Schadt | |
| 2025-05-11 | fix tileproxy test | Daniel Schadt | |
| 2025-05-11 | add test for setting new GPX files | Daniel Schadt | |
| 2025-05-10 | Merge branch 'trackmap' | Daniel Schadt | |
| 2025-05-06 | fix test for new 403 page | Daniel Schadt | |
| 2025-04-23 | fix profile test | Daniel Schadt | |
| We added the trailing slash some commits ago. | |||
| 2025-04-21 | fix layer passing in conftest | Daniel Schadt | |
| 2025-04-21 | use configured tile layers for trackmap | Daniel Schadt | |
| 2025-04-21 | cache & generate trackmap when uploading a track | Daniel Schadt | |
| 2024-11-28 | Merge branch 'calendar' | Daniel Schadt | |
| 2024-11-25 | fix lint | Daniel Schadt | |
| There seems to a new too-many-positional-arguments in addition to too-many-arguments now. | |||
| 2024-11-25 | update dependencies | Daniel Schadt | |
| 2024-11-25 | add tests for prev_next_month | Daniel Schadt | |
| 2024-04-18 | also remove user data on test teardown | Daniel Schadt | |
| 2024-04-18 | have data_dir as a placeholder in testing.ini | Daniel Schadt | |
| 2024-04-16 | add test for fietsupdate bootstrapping | Daniel Schadt | |
| 2023-11-13 | add docstring | Daniel Schadt | |
| 2023-11-13 | add tests for disabled image uploads | Daniel Schadt | |
| 2023-11-13 | make test app fixture module-scoped | Daniel Schadt | |
| Previously, we had it session-scoped, which meant that the app was created once for all tests. This doesn't allow us to play with different settings however, such as disabling account registration or image uploads and testing that. Now, the fixtures are module scoped, which means that we still save on prepare/teardown time a bit, but we're also a bit more flexible. By making new test modules, we can test different settings there. | |||
| 2023-11-07 | update dependencies | Daniel Schadt | |
| The most "painful" one was Pydantic V2, not because it didn't work, but because I wanted to do it right and not use the deprecated methods. | |||
| 2023-09-14 | fix tests | Daniel Schadt | |
| 2023-08-30 | fix upload test | Daniel Schadt | |
| The new favourite icon messes up the old HTML, so we need to adjust the test's expectations. | |||
| 2023-08-30 | add test for favourite on detail page | Daniel Schadt | |
| 2023-08-09 | include email in user fingerprint | Daniel Schadt | |
| 2023-08-02 | make tileproxy test less flaky | Daniel Schadt | |
| 2023-06-29 | tileproxy: use caplog in the test | Daniel Schadt | |
| See if it works, it might be handy for other tests in the future as well. | |||
| 2023-06-22 | add preliminary tileproxy test | Daniel Schadt | |
| 2023-06-05 | fix lint | Daniel Schadt | |
| 2023-05-31 | add test for verification mail resending | Daniel Schadt | |
| 2023-05-25 | Merge branch 'fietsctl-commands' | Daniel Schadt | |
| 2023-05-25 | move "sort" button on home page up | Daniel Schadt | |
| This looks better than having the header line and the sort button below each other. | |||
| 2023-05-13 | add a test for the new elevation jump transformer | Daniel Schadt | |
| 2023-05-12 | add unit tests for util.human_size | Daniel Schadt | |
| 2023-04-13 | replace bleach with nh3 | Daniel Schadt | |
| See https://github.com/mozilla/bleach/issues/698 nh3 is a small wrapper around https://crates.io/crates/ammonia - more Rust code in Fietsboek! \o/ The default seems to be to strip unknown tags instead of replace them with htmlentities, which is fine. Then the <script> tags are completely gone. | |||
