mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-21 17:15:38 +03:00
Clarify test_forget_when_not_left
docstring (#17628)
This commit is contained in:
parent
e8e0f0fad7
commit
e8c8924b81
2 changed files with 2 additions and 1 deletions
1
changelog.d/17628.doc
Normal file
1
changelog.d/17628.doc
Normal file
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue