You can now clear the active user for ownership history. See #1790.

This commit is contained in:
Dion Moult
2021-10-12 19:12:15 +11:00
parent fc2e12bff6
commit f6128febe9
11 changed files with 54 additions and 8 deletions
+6
View File
@@ -219,3 +219,9 @@ class TestGetUser:
def test_run(self, owner):
owner.get_user().should_be_called().will_return("person_and_organisation")
assert subject.get_user(owner) == "person_and_organisation"
class TestClearUser:
def test_run(self, owner):
owner.clear_user().should_be_called()
subject.clear_user(owner)