Skip to content

Commit

Permalink
chore: updates failed tests because of spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
baywet committed Dec 4, 2024
1 parent 0a19af5 commit aa0b014
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/http/httpx/tests/test_httpx_request_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_enable_backing_store(request_adapter):

@pytest.mark.asyncio
async def test_get_root_parse_node(request_adapter, simple_success_response):
assert simple_success_response.text == '{"message": "Success!"}'
assert simple_success_response.text == '{"message":"Success!"}'
assert simple_success_response.status_code == 200
content_type = request_adapter.get_response_content_type(simple_success_response)
assert content_type == "application/json"
Expand All @@ -118,7 +118,7 @@ async def test_get_root_parse_node_no_content_type_header_return_null(
@pytest.mark.asyncio
async def test_does_not_throw_failed_responses_on_success(request_adapter, simple_success_response):
try:
assert simple_success_response.text == '{"message": "Success!"}'
assert simple_success_response.text == '{"message":"Success!"}'
assert simple_success_response.status_code == 200
content_type = request_adapter.get_response_content_type(simple_success_response)
assert content_type == "application/json"
Expand All @@ -130,7 +130,7 @@ async def test_does_not_throw_failed_responses_on_success(request_adapter, simpl
async def test_throw_failed_responses_null_error_map(
request_adapter, simple_error_response, mock_otel_span
):
assert simple_error_response.text == '{"error": "not found"}'
assert simple_error_response.text == '{"error":"not found"}'
assert simple_error_response.status_code == 404
content_type = request_adapter.get_response_content_type(simple_error_response)
assert content_type == "application/json"
Expand All @@ -149,7 +149,7 @@ async def test_throw_failed_responses_null_error_map(
async def test_throw_failed_responses_no_error_class(
request_adapter, simple_error_response, mock_error_500_map, mock_otel_span
):
assert simple_error_response.text == '{"error": "not found"}'
assert simple_error_response.text == '{"error":"not found"}'
assert simple_error_response.status_code == 404
content_type = request_adapter.get_response_content_type(simple_error_response)
assert content_type == "application/json"
Expand Down

0 comments on commit aa0b014

Please sign in to comment.