Skip to content

Commit 88496f6

Browse files
rustyconoverclaude
andcommitted
Reformat test_mtls.py with ruff
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5c267cb commit 88496f6

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_mtls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def test_invalid_pem_raises(self) -> None:
125125

126126
def noop(c: x509.Certificate) -> AuthContext:
127127
return _noop_ctx
128+
128129
auth_fn = mtls_authenticate(validate=noop)
129130
req = _make_req(cert_header=quote("not a certificate"))
130131
with pytest.raises(ValueError, match="not a PEM certificate"):
@@ -136,6 +137,7 @@ def test_missing_header_raises(self) -> None:
136137

137138
def noop(c: x509.Certificate) -> AuthContext:
138139
return _noop_ctx
140+
139141
auth_fn = mtls_authenticate(validate=noop)
140142
req = _make_req()
141143
with pytest.raises(ValueError, match="Missing"):

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)