changeset 7334:b22501293b30 stable

tests: fix reference to edit_repo_perms_update - it is actually edit_repo_perms_revoke, even though they have the same value (but different method)
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 12 Jun 2018 23:30:41 +0200
parents 99cd328da2a1
children bc166701b0c5
files kallithea/tests/functional/test_admin_permissions.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/tests/functional/test_admin_permissions.py	Mon Jun 11 21:43:03 2018 +0200
+++ b/kallithea/tests/functional/test_admin_permissions.py	Tue Jun 12 23:30:41 2018 +0200
@@ -72,7 +72,7 @@
                 _authentication_token=self.authentication_token()),
             status=302)
 
-        assert response.location.endswith(url('login_home', came_from=url('edit_repo_perms_update', repo_name=HG_REPO)))
+        assert response.location.endswith(url('login_home', came_from=url('edit_repo_perms_revoke', repo_name=HG_REPO)))
 
         # Test authenticated access
         self.log_user()