From de85c640f3e5efb26e9f4c5dbb7b8bad59f9e91e Mon Sep 17 00:00:00 2001 From: Joshua Hiller <74007258+jshcodes@users.noreply.github.com> Date: Thu, 10 Aug 2023 13:52:17 -0400 Subject: [PATCH] Refine Result Object unit testing --- tests/test_result_object.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_result_object.py b/tests/test_result_object.py index 48b0101cc..6647243f4 100644 --- a/tests/test_result_object.py +++ b/tests/test_result_object.py @@ -719,6 +719,8 @@ def test_batch_init_id_without_a_session(self): test_object: Result = Result(status_code=200, headers={"someheader": "somevalue"}, body={"batch_id": "123456"}) assert bool(test_object.full_return.get("body", {}).get("batch_id")=="123456") + @not_supported + @pytest.mark.skipif("us-2" in config.base_url, reason="This unit test is not supported in US-2.") def test_unusual_response_formatting(self): _returned = False cspm = CSPMRegistration(auth_object=config)