Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] committed Oct 31, 2023
1 parent 0c9f081 commit a40ec2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/mitmproxy/addons/test_tlsconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ def test_tls_start_client_cb(self, tdata):
tls_start = tls.TlsData(ctx.client, context=ctx)

def cb(_tls_start):
raise RuntimeError('callback is invoked')
raise RuntimeError("callback is invoked")

ta.tls_start_client_cb = cb

with pytest.raises(RuntimeError, match="callback is invoked"):
Expand Down Expand Up @@ -386,7 +387,8 @@ def test_tls_start_server_cb(self):
tls_start = tls.TlsData(ctx.server, context=ctx)

def cb(_tls_start):
raise RuntimeError('callback is invoked')
raise RuntimeError("callback is invoked")

ta.tls_start_server_cb = cb

with pytest.raises(RuntimeError, match="callback is invoked"):
Expand Down

0 comments on commit a40ec2d

Please sign in to comment.