Skip to content

Commit

Permalink
Sync e2e tests with downstream (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
tisnik authored Jan 26, 2025
1 parent 45e1f35 commit ec6ef16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/e2e/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
2 changes: 1 addition & 1 deletion tests/e2e/test_streaming_query_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ec6ef16

Please sign in to comment.