Clarify test_forget_when_not_left docstring (#17628)

This commit is contained in:
Andrew Morgan authored and GitHub committed 2024-10-07 16:34:32 +01:00
1 parent e8e0f0fad7
commit e8c8924b81
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
Clarify the docstring of `test_forget_when_not_left`.
+1 -1
View File
@@ -380,7 +380,7 @@ class RoomMemberMasterHandlerTestCase(HomeserverTestCase):
)
def test_forget_when_not_left(self) -> None:
"""Tests that a user cannot not forgets a room that has not left."""
"""Tests that a user cannot forget a room that they are still in."""
self.get_failure(self.handler.forget(self.alice_ID, self.room_id), SynapseError)
def test_nonlocal_room_user_action(self) -> None: