diff --git a/tests/e2e/conftest.py b/tests/e2e/conftest.py index 34b863fd..9ad46dbb 100644 --- a/tests/e2e/conftest.py +++ b/tests/e2e/conftest.py @@ -239,5 +239,6 @@ def pytest_sessionfinish(session): upload_artifact_s3(aws_env=aws_env) except KeyError: print( - "Could not find aws credentials to upload to S3. Skipping reporting to Report portal." + "Could not find aws credentials to upload to S3. " + "Skipping reporting to Report portal." ) diff --git a/tests/e2e/test_streaming_query_endpoint.py b/tests/e2e/test_streaming_query_endpoint.py index 9d26d28f..7aae51a8 100644 --- a/tests/e2e/test_streaming_query_endpoint.py +++ b/tests/e2e/test_streaming_query_endpoint.py @@ -20,7 +20,7 @@ def parse_streaming_response_to_events(response: str) -> list[dict]: """Parse streaming response to events.""" - return json.loads(f"[{response.replace('}{', '},{')}]") + return json.loads(f'[{response.replace("}{", "},{")}]') def construct_response_from_streamed_events(events: dict) -> str: