mirror of https://github.com/zulip/zulip.git
test_create_video_call: Add missing not None assertions.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
7a4ca3135d
commit
cb9a04d3e3
|
@ -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),
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue