We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5274aad commit ec85824Copy full SHA for ec85824
1 file changed
tests/test_ssl.py
@@ -31,9 +31,9 @@ def test_ssl(httpserver: HTTPServer):
31
server_key = pjoin(assets_dir, "server.key")
32
root_ca = pjoin(assets_dir, "rootCA.crt")
33
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
- )
+ assert (
+ httpserver.ssl_context is not None
+ ), "SSLContext not set. The session was probably started with a test that did not define an SSLContext."
37
38
httpserver.ssl_context.load_cert_chain(server_crt, server_key)
39
httpserver.expect_request("/foobar").respond_with_json({"foo": "bar"})
0 commit comments