Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed May 20, 2024
1 parent 7aaf8c0 commit 67b16a2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions onadata/libs/tests/models/test_share_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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)
Expand Down

0 comments on commit 67b16a2

Please sign in to comment.