Commit Graph

16 Commits

Author SHA1 Message Date
69a1efcd93 WIP: Response visibility calculation 2018-07-25 21:12:55 +02:00
029d29ffb1 Make it possible to set the instance admin 2018-07-25 21:03:34 +02:00
4b1fff6544 Add the AppState model
This allows setting application state during run time
2018-07-25 20:27:13 +02:00
bc67e692e0 [Refactor] Move test fixtures to conftest.py
…so they get automatically loaded
2018-07-25 20:25:12 +02:00
c40e776036 Fully cover the Gregorian Calendar with tests
Being one of the cornerstones right now, it deserves a lot of tests
2018-07-24 08:28:04 +02:00
3deaa39256 [Test] Add test for disabled registration 2018-07-23 13:22:50 +02:00
c20b302458 Add the alter_config context manager for testing
It can temporarily change an app configuration value.
2018-07-23 13:22:50 +02:00
11bd30e01f [Bugfix] Fix broken tests 2018-07-23 13:04:04 +02:00
61f10f951c Make it possible to lock profiles
Locked profiles cannot be followed
2018-07-12 12:10:53 +02:00
36c2f0fd77 Add test for following a user through the web UI 2018-07-12 10:34:59 +02:00
27c78ff36f Create the Profile.follow() method 2018-07-12 10:34:59 +02:00
37e08fed22 Add tests for logging in 2018-07-12 10:34:57 +02:00
a0fba3f2af Move registration related tests to a separate file 2018-07-12 10:32:16 +02:00
48a19a2296 Update tests
Move the `client` fixture to the helpers module, as it will be used by many other test cases.

Add the AGPL header to the test files.
2018-07-12 10:28:59 +02:00
f782ece010 Add tests for registration 2018-07-10 15:34:52 +02:00
0595a28535 Add the first test
It just checks if the index page has a specific sentence.  But at least it’s now possible to
create tests.
2018-07-10 12:10:24 +02:00