Commit graph

6 commits

Author SHA1 Message Date
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Johannes Bornhold
24e2b4a137 authn: Test authentication plugin settings POST views. 2016-06-20 17:27:31 +02:00
Martin Bornhold
30ce19fa4f authn: Unit tests to simply get the authentication settings pages.
Checks for enabled (retcode=200) and disabled (retcode=404) plugins.
2016-06-20 15:48:23 +02:00
Martin Bornhold
94d448b77c authn: Create context managers to enable/disable an authentication plugin in DB. 2016-06-20 15:46:35 +02:00
Martin Bornhold
df46a4458a authn: Add fixture that provides authentication plugin instances. 2016-06-20 15:45:58 +02:00
Johannes Bornhold
4e9923b5ae auth: Implement __str__ on plugin base class
This way some error messages will look nicer, since they are based on the
__str__ of the plugin instance. Using the plugin_id will give the user (and us
in the support case) the exact pointer to the affected plugins.
2016-06-16 09:11:45 +02:00