Skip to content

Commit

Permalink
Refine Result Object unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes authored Aug 10, 2023
1 parent febf7ea commit de85c64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_result_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit de85c64

Please sign in to comment.