Some checks failed
Run tests / Execute tox to run the test suite (push) Failing after 1m26s
15 lines
582 B
Python
15 lines
582 B
Python
from dav_base.tests.generic import Url, UrlsTestCase
|
|
|
|
from .. import views
|
|
|
|
|
|
class TestCase(UrlsTestCase):
|
|
urls = (
|
|
Url('/auth/login', 'dav_auth:login', views.LoginView.as_view()),
|
|
Url('/auth/logout', 'dav_auth:logout', views.LogoutView.as_view(), status_code=302,
|
|
http_method='POST'),
|
|
Url('/auth/password', 'dav_auth:set_password', views.SetPasswordView.as_view(),
|
|
redirect='/auth/login?next=/auth/password'),
|
|
Url('/auth/password/recreate', 'dav_auth:recreate_password', views.CreateAndSendPasswordView.as_view()),
|
|
)
|