Skip to content

Commit 7206416

Browse files
Format host parsing hardening tests for Ruff
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent da6693e commit 7206416

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,9 @@ def port(self) -> int:
531531

532532
monkeypatch.setattr(config_module, "urlparse", lambda _value: _ParsedURL())
533533

534-
with pytest.raises(HyperbrowserError, match="Failed to parse base_url host") as exc_info:
534+
with pytest.raises(
535+
HyperbrowserError, match="Failed to parse base_url host"
536+
) as exc_info:
535537
ClientConfig.normalize_base_url("https://example.local")
536538

537539
assert exc_info.value.original_error is not None

0 commit comments

Comments
 (0)