aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2023-03-04add tests for the new transformerDaniel Schadt
2023-02-08fix transformer handling when uploading a fileDaniel Schadt
2023-01-19add a small test for maintenance modeDaniel Schadt
2023-01-03add tests for adding/removing friendsDaniel Schadt
2022-12-29start to move out high-level actionsDaniel Schadt
This is code that needs to be repeated in possibly several places (website, API, tests), so it makes sense to have those "high level actions" a bit abstracted. edit.edit_images was already doing that to a certain degree, but the code shouldn't have stayed in the view.
2022-12-29add playwright tests for the sharing functionalityDaniel Schadt
2022-12-22add more tests for the home pageDaniel Schadt
2022-12-22reorder playwright helper structureDaniel Schadt
To add more playwright tests and to cut down on the duplicated code, the helper methods have been put into a small class. This way, we don't have to add 100 pytest fixtures.
2022-12-20fix track deletion permissionDaniel Schadt
2022-12-15fix lintsDaniel Schadt
2022-12-15fix integration & playwright testsDaniel Schadt
2022-12-14add test for track browsingDaniel Schadt
2022-12-13add a test for editing tracksDaniel Schadt
2022-12-10start with playwright testsDaniel Schadt
2022-12-06add some tests for the registration formDaniel Schadt
2022-08-13fix testsDaniel Schadt
Now that the filtering is done via SQL, it is not enough for the user and the objects to be in the session - they need to be in the database, similar to the added tracks. Note that it was not entirely necessary in this case, since the tracks are public, but it provides the proper functionality in the future.
2022-07-24add first basic tests for synthetic tracksDaniel Schadt
2022-07-18give tests a temporary data dirDaniel Schadt
2022-07-17run pylint on the test files as wellDaniel Schadt
2022-07-17Merge branch 'multi-download'Daniel Schadt
2022-07-17add tests for archive downloadDaniel Schadt
2022-07-16remove MyTourbook timezone guessingDaniel Schadt
It turns out that the mt:TourStartTime is also given in UTC, and therefore cannot be used to get the timezone offset. The problem was that my local computer's timezone was the same as the tour timezone, so by the magic of Python's datetime.datetime.fromtimestamp (and the date CLI util), I did not notice that the timestamp actually represents UTC. Sadly, it currently looks like there is no way to extract the time zone from a MyTourbook export.
2022-07-11add integration tests for uploadingDaniel Schadt
2022-07-09add tests for the login formDaniel Schadt
2022-07-07add tests for util.guess_gpx_timezoneDaniel Schadt
2022-07-07start adding some unit testsDaniel Schadt
2022-06-28Initial commitDaniel Schadt