diff options
author | Eric Eastwood <erice@element.io> | 2022-09-30 13:55:02 -0500 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-09-30 13:55:02 -0500 |
commit | 7bd38034f90ef352560c266dc3b6fb883c65c8d8 (patch) | |
tree | f3fd0884ce988f6ebd81872973afbc96d941ff0a | |
parent | Revert mock (diff) | |
download | synapse-7bd38034f90ef352560c266dc3b6fb883c65c8d8.tar.xz |
Add test descriptions
-rw-r--r-- | tests/handlers/test_appservice.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/handlers/test_appservice.py b/tests/handlers/test_appservice.py index 038736b944..a142be38c5 100644 --- a/tests/handlers/test_appservice.py +++ b/tests/handlers/test_appservice.py @@ -426,6 +426,10 @@ class ApplicationServicesHandlerSendEventsTestCase(unittest.HomeserverTestCase): ) def test_match_local_room_members(self): + """ + Test to make sure that a user local to the server and in the room is notified + when someone else in the room sends a message. + """ # Register an application service that's interested in local and remote user interested_appservice = self._register_application_service( namespaces={ @@ -486,6 +490,10 @@ class ApplicationServicesHandlerSendEventsTestCase(unittest.HomeserverTestCase): self.assertEqual(events[0]["sender"], alice) def test_match_remote_room_members(self): + """ + Test to make sure that a remote user that is in the room is notified when + someone else in the room sends a message. + """ # Register an application service that's interested in a remote user interested_appservice = self._register_application_service( namespaces={ |