# HG changeset patch # User Mads Kiilerich # Date 2018-06-12 23:30:41 # Node ID b22501293b304bc64a90ff9f4a2d38f4a0a20441 # Parent 99cd328da2a1ffbc5159bdb87ec39763c3f3eaad 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) diff --git a/kallithea/tests/functional/test_admin_permissions.py b/kallithea/tests/functional/test_admin_permissions.py --- a/kallithea/tests/functional/test_admin_permissions.py +++ b/kallithea/tests/functional/test_admin_permissions.py @@ -72,7 +72,7 @@ class TestAdminPermissionsController(Tes _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()