mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 06:32:54 +00:00
Clarify test_forget_when_not_left docstring (#17628)
This commit is contained in:
1 parent
e8e0f0fad7
commit
e8c8924b81
2 files changed
+2
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
Clarify the docstring of `test_forget_when_not_left`.
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user