Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/e2e/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def wait_for_container_health(container_name: str, max_attempts: int = 3) -> Non
print(f"Could not check health status for {container_name}")


def validate_json_partially(actual: Any, expected: Any):
def validate_json_partially(actual: Any, expected: Any) -> None:
"""Recursively validate that `actual` JSON contains all keys and values specified in `expected`.

Extra elements/keys are ignored. Raises AssertionError if validation fails.
Expand Down Expand Up @@ -137,7 +137,7 @@ def restart_container(container_name: str) -> None:
check=True,
)
except (subprocess.CalledProcessError, subprocess.TimeoutExpired) as e:
print(f"Failed to restart container {container_name}: {e.stderr}")
print(f"Failed to restart container {container_name}: {str(e.stderr)}")
raise

# Wait for container to be healthy
Expand Down
Loading