From 0b26ba89287e705f70fe74c3cf1bf5da88e95c3e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 03 2017 16:50:46 +0000 Subject: Fix unit-tests Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/default_config.py b/pagure/default_config.py index 0528217..f9365df 100644 --- a/pagure/default_config.py +++ b/pagure/default_config.py @@ -257,7 +257,8 @@ ACLS = { 'pull_request_comment': 'Comment on a pull-request', 'pull_request_flag': 'Flag a pull-request', 'pull_request_merge': 'Merge a pull-request', - 'pull_request_subscribe': 'Subscribe the user with this token to a pull-request', + 'pull_request_subscribe': + 'Subscribe the user with this token to a pull-request', 'issue_subscribe': 'Subscribe the user with this token to an issue', 'issue_update': 'Update an issue, status, comments, custom fields...', 'issue_update_custom_fields': 'Update the custom fields of an issue', diff --git a/pagure/ui/repo.py b/pagure/ui/repo.py index 62b657a..0045487 100644 --- a/pagure/ui/repo.py +++ b/pagure/ui/repo.py @@ -1492,7 +1492,9 @@ def delete_repo(repo, username=None, namespace=None): namespace=namespace)) task = pagure.lib.tasks.delete_project.delay( - repo.namespace, repo.name, repo.user.user if repo.is_fork else None, flask.g.fas_user.username) + repo.namespace, repo.name, + repo.user.user if repo.is_fork else None, + flask.g.fas_user.username) return pagure.wait_for_task(task.id)