typing: Migrate to typed_endpoint.

This commit is contained in:
Kenneth Rodrigues
2024-06-06 17:35:03 +05:30
committed by Tim Abbott
parent 56db3f3d12
commit 6364010df5
2 changed files with 11 additions and 16 deletions

View File

@@ -117,7 +117,7 @@ class TypingValidateStreamIdTopicArgumentsTest(ZulipTestCase):
"/api/v1/typing",
{"type": "stream", "op": "start", "stream_id": "invalid", "topic": "test"},
)
self.assert_json_error(result, 'Argument "stream_id" is not valid JSON.')
self.assert_json_error(result, "stream_id is not valid JSON")
def test_includes_stream_id_but_not_topic(self) -> None:
sender = self.example_user("hamlet")