aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/test_browse.py
AgeCommit message (Collapse)Author
11 hoursfix lintHEADmasterDaniel Schadt
11 hoursproperly clean up track cache in testDaniel Schadt
12 hoursfurther speed up testsDaniel 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?
14 hoursfix lintDaniel Schadt
23 hoursspeed up track insertionDaniel 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-01fix testsDaniel 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-18add tests for browse paginationDaniel Schadt
2025-06-10fix lintsDaniel Schadt
2025-06-08fix filenames in archive testDaniel Schadt
2025-06-08fix archive testDaniel Schadt
We might not always get the IDs as 1 and 2, so we need to adapt.
2024-11-25fix lintDaniel Schadt
There seems to a new too-many-positional-arguments in addition to too-many-arguments now.
2022-12-15fix lintsDaniel Schadt
2022-12-15fix integration & playwright testsDaniel Schadt
2022-07-17run pylint on the test files as wellDaniel Schadt
2022-07-17add tests for archive downloadDaniel Schadt