Skip to content

Commit ec85824

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5274aad commit ec85824

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_ssl.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def test_ssl(httpserver: HTTPServer):
3131
server_key = pjoin(assets_dir, "server.key")
3232
root_ca = pjoin(assets_dir, "rootCA.crt")
3333

34-
assert httpserver.ssl_context is not None, (
35-
"SSLContext not set. The session was probably started with a test that did not define an SSLContext."
36-
)
34+
assert (
35+
httpserver.ssl_context is not None
36+
), "SSLContext not set. The session was probably started with a test that did not define an SSLContext."
3737

3838
httpserver.ssl_context.load_cert_chain(server_crt, server_key)
3939
httpserver.expect_request("/foobar").respond_with_json({"foo": "bar"})

0 commit comments

Comments
 (0)