Changeset - b22501293b30
[Not reviewed]
stable
0 1 0
Mads Kiilerich - 7 years ago 2018-06-12 23:30:41
mads@kiilerich.com
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)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/tests/functional/test_admin_permissions.py
Show inline comments
 
@@ -69,13 +69,13 @@ class TestAdminPermissionsController(Tes
 
                _method='delete',
 
                obj_type='user',
 
                user_id=user.user_id,
 
                _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()
 

	
 
        response = self.app.post(
 
            url('edit_repo_perms_update', repo_name=HG_REPO),
0 comments (0 inline, 0 general)