From 1544e0a7d1103c6a875bbf6a97c2526e07d2c84f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 01 2017 14:49:17 +0000 Subject: Improve docstring in the tests to better explain what is tested Signed-off-by: Pierre-Yves Chibon --- diff --git a/tests/test_pagure_flask_ui_app_give_project.py b/tests/test_pagure_flask_ui_app_give_project.py index 66399be..5ae1439 100644 --- a/tests/test_pagure_flask_ui_app_give_project.py +++ b/tests/test_pagure_flask_ui_app_give_project.py @@ -205,7 +205,11 @@ class PagureFlaskGiveRepotests(tests.Modeltests): @patch.dict('pagure.APP.config', {'PAGURE_ADMIN_USERS': 'foo'}) def test_give_project_not_owner_but_admin(self): - """ Test the give_project endpoint. """ + """ Test the give_project endpoint. + + Test giving a project when the person giving the project is a pagure + admin (instance wide admin) but not a project admin. + """ user = tests.FakeUser() user.username = 'foo'