From 67b16a25b2f33dd62383205177248e1aa07e6c21 Mon Sep 17 00:00:00 2001 From: Kelvin Muchiri Date: Mon, 20 May 2024 11:20:04 +0300 Subject: [PATCH] update docstring --- onadata/libs/tests/models/test_share_project.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/onadata/libs/tests/models/test_share_project.py b/onadata/libs/tests/models/test_share_project.py index f9b27c21f1..f60d299a24 100644 --- a/onadata/libs/tests/models/test_share_project.py +++ b/onadata/libs/tests/models/test_share_project.py @@ -73,7 +73,7 @@ def setUp(self): def test_share(self, mock_safe_delete, mock_propagate): """A project is shared with a user - Permissions assigned to project, xform and dataview + Permissions assigned to project, xform, mergedxform and dataview """ instance = ShareProject(self.project, self.alice, "manager") instance.save() @@ -94,7 +94,10 @@ def test_share(self, mock_safe_delete, mock_propagate): @patch("onadata.libs.models.share_project.safe_delete") def test_remove(self, mock_safe_delete, mock_propagate): - """A user is removed from a project""" + """A user is removed from a project + + Permissions removed from project, xform, mergedxform and dataview + """ # Simulate share project ManagerRole.add(self.alice, self.project) ManagerRole.add(self.alice, self.xform)