Skip to content

Commit

Permalink
Check get request body is none
Browse files Browse the repository at this point in the history
  • Loading branch information
fatimarahman committed Nov 19, 2024
1 parent 1f356b7 commit f246cb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_cloudlibrary_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def test_get_request_success(self, test_instance, requests_mock):
assert response.text == _TEST_LIBRARY_EVENTS_RESPONSE
assert requests_mock.request_history[0].method == "GET"
assert requests_mock.request_history[0].url == url
assert requests_mock.request_history[0].body is None
assert expected_headers.items() <= dict(
requests_mock.request_history[0].headers).items()

Expand Down

0 comments on commit f246cb9

Please sign in to comment.