From f246cb9fada634c02834a4cd1aea49055cb77316 Mon Sep 17 00:00:00 2001 From: fatimarahman Date: Tue, 19 Nov 2024 13:42:57 -0500 Subject: [PATCH] Check get request body is none --- tests/test_cloudlibrary_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_cloudlibrary_client.py b/tests/test_cloudlibrary_client.py index f544863..1a1000a 100644 --- a/tests/test_cloudlibrary_client.py +++ b/tests/test_cloudlibrary_client.py @@ -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()