aboutsummaryrefslogtreecommitdiff
path: root/tests/conftest.py
AgeCommit message (Collapse)Author
2023-11-13make test app fixture module-scopedDaniel 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-06-29tileproxy: use caplog in the testDaniel Schadt
See if it works, it might be handy for other tests in the future as well.
2023-04-01fix isolated running of unit testsDaniel Schadt
They caused issues because they might not have created the database tables or the data directory. Since the cleanup job runs globally after every test, it should take that into consideration and not error out.
2023-03-04fix deprecated SQLAlchemy functionsDaniel Schadt
Getting ready for SQLAlchemy 2.0!
2022-12-15fix integration & playwright testsDaniel 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-18give tests a temporary data dirDaniel Schadt
2022-07-17add tests for archive downloadDaniel Schadt
2022-07-11add integration tests for uploadingDaniel Schadt
2022-06-28Initial commitDaniel Schadt