aboutsummaryrefslogtreecommitdiff
path: root/test/test_websockets.py
diff options
context:
space:
mode:
authorsepro <4618135+seproDev@users.noreply.github.com>2024-06-12 01:09:58 +0200
committerGitHub <noreply@github.com>2024-06-12 01:09:58 +0200
commitadd96eb9f84cfffe85682bf2fb85135746994ee8 (patch)
tree583f209506aa01b2afa3933e504426de575fc43c /test/test_websockets.py
parentdb50f19d76c6870a5a13d0cab9287d684fd7449a (diff)
[cleanup] Add more ruff rules (#10149)
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
Diffstat (limited to 'test/test_websockets.py')
-rw-r--r--test/test_websockets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_websockets.py b/test/test_websockets.py
index aa0dfa2d5..5f101abcc 100644
--- a/test/test_websockets.py
+++ b/test/test_websockets.py
@@ -297,14 +297,14 @@ class TestWebsSocketRequestHandlerConformance:
'client_certificate': os.path.join(MTLS_CERT_DIR, 'client.crt'),
'client_certificate_key': os.path.join(MTLS_CERT_DIR, 'clientencrypted.key'),
'client_certificate_password': 'foobar',
- }
+ },
))
def test_mtls(self, handler, client_cert):
with handler(
# Disable client-side validation of unacceptable self-signed testcert.pem
# The test is of a check on the server side, so unaffected
verify=False,
- client_cert=client_cert
+ client_cert=client_cert,
) as rh:
ws_validate_and_send(rh, Request(self.mtls_wss_base_url)).close()