mirror of
https://github.com/YunoHost-Apps/django-fritzconnection_ynh.git
synced 2024-09-03 18:26:24 +02:00
fix tests
This commit is contained in:
parent
1c1a50ca98
commit
4b04d34bb6
1 changed files with 8 additions and 1 deletions
|
@ -58,7 +58,14 @@ class DjangoYnhTestCase(HtmlAssertionMixin, TestCase):
|
|||
|
||||
response = self.client.get('/app_path/', secure=True)
|
||||
self.assertRedirects(
|
||||
response, expected_url='/app_path/admin/', fetch_redirect_response=False
|
||||
response, expected_url='/app_path/group_management/', fetch_redirect_response=False
|
||||
)
|
||||
|
||||
response = self.client.get('/app_path/group_management/', secure=True)
|
||||
self.assertRedirects(
|
||||
response,
|
||||
expected_url='/app_path/admin/login/?next=/app_path/group_management/',
|
||||
fetch_redirect_response=False,
|
||||
)
|
||||
|
||||
response = self.client.get('/app_path/admin/', secure=True)
|
||||
|
|
Loading…
Reference in a new issue