Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sharinetmc committed Dec 13, 2024
1 parent cd43965 commit b963b5f
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions test/test_zoom.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,30 +330,30 @@ def test_get_past_webinar_report(self, m):
"user_name": "Jill Chill",
"uuid": "4444AAAiAAAAAiAiAiiAii==",
}
tbl = Table(
[
{
"custom_keys": [{"key": "Host Nation", "value": "US"}],
"dept": "HR",
"duration": 2,
"end_time": "2022-03-15T07:42:22Z",
"id": 345678902224,
"participants_count": 4,
"start_time": "2022-03-15T07:40:46Z",
"topic": "My Meeting",
"total_minutes": 3,
"tracking_fields": [{"field": "Host Nation", "value": "US"}],
"type": 4,
"user_email": "[email protected]",
"user_name": "Jill Chill",
"uuid": "4444AAAiAAAAAiAiAiiAii==",
}
]
)
# tbl = Table(
# [
# {
# "custom_keys": [{"key": "Host Nation", "value": "US"}],
# "dept": "HR",
# "duration": 2,
# "end_time": "2022-03-15T07:42:22Z",
# "id": 345678902224,
# "participants_count": 4,
# "start_time": "2022-03-15T07:40:46Z",
# "topic": "My Meeting",
# "total_minutes": 3,
# "tracking_fields": [{"field": "Host Nation", "value": "US"}],
# "type": 4,
# "user_email": "[email protected]",
# "user_name": "Jill Chill",
# "uuid": "4444AAAiAAAAAiAiAiiAii==",
# }
# ]
# )

m.post(ZOOM_AUTH_CALLBACK, json={"access_token": "fakeAccessToken"})
m.get(ZOOM_URI + "report/webinars/123", json=report)
assert_matching_tables(self.zoom.get_past_webinar_report(123), tbl)
assert_matching_tables(self.zoom.get_past_webinar_report(123), report)

@requests_mock.Mocker()
def test_get_webinar_registrants(self, m):
Expand Down

0 comments on commit b963b5f

Please sign in to comment.