Commit Graph

11 Commits

Author SHA1 Message Date
Gergely Polonkai 3deaa39256 [Test] Add test for disabled registration 2018-07-23 13:22:50 +02:00
Gergely Polonkai 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
Gergely Polonkai 11bd30e01f [Bugfix] Fix broken tests 2018-07-23 13:04:04 +02:00
Gergely Polonkai 61f10f951c Make it possible to lock profiles
Locked profiles cannot be followed
2018-07-12 12:10:53 +02:00
Gergely Polonkai 36c2f0fd77 Add test for following a user through the web UI 2018-07-12 10:34:59 +02:00
Gergely Polonkai 27c78ff36f Create the Profile.follow() method 2018-07-12 10:34:59 +02:00
Gergely Polonkai 37e08fed22 Add tests for logging in 2018-07-12 10:34:57 +02:00
Gergely Polonkai a0fba3f2af Move registration related tests to a separate file 2018-07-12 10:32:16 +02:00
Gergely Polonkai 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
Gergely Polonkai f782ece010 Add tests for registration 2018-07-10 15:34:52 +02:00
Gergely Polonkai 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