test_create_video_call: Add missing not None assertions.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-11-14 17:21:11 -08:00 committed by Tim Abbott
parent 7a4ca3135d
commit cb9a04d3e3
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@ class TestVideoCall(ZulipTestCase):
responses.calls[-1].request.url, responses.calls[-1].request.url,
"https://api.zoom.us/v2/users/me/meetings", "https://api.zoom.us/v2/users/me/meetings",
) )
assert responses.calls[-1].request.body is not None
self.assertEqual( self.assertEqual(
orjson.loads(responses.calls[-1].request.body), orjson.loads(responses.calls[-1].request.body),
{ {
@ -104,6 +105,7 @@ class TestVideoCall(ZulipTestCase):
responses.calls[-1].request.url, responses.calls[-1].request.url,
"https://api.zoom.us/v2/users/me/meetings", "https://api.zoom.us/v2/users/me/meetings",
) )
assert responses.calls[-1].request.body is not None
self.assertEqual( self.assertEqual(
orjson.loads(responses.calls[-1].request.body), orjson.loads(responses.calls[-1].request.body),
{ {