Skip to content

Commit a53cd8f

Browse files
committed
Fix lint in tests
1 parent 66b706c commit a53cd8f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/test_curve.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_curve_connection_file_has_keys(curve_enabled_kernel_app):
7272

7373
def test_curve_keys_are_stable_per_startup(curve_enabled_kernel_app):
7474
"""Keys generated at startup stay the same throughout the process lifetime."""
75-
app, connection_file_path = curve_enabled_kernel_app
75+
app, _connection_file_path = curve_enabled_kernel_app
7676
app.init_sockets()
7777
pub1 = app._curve_publickey
7878
# Writing the file twice should not regenerate keys.
@@ -83,7 +83,7 @@ def test_curve_keys_are_stable_per_startup(curve_enabled_kernel_app):
8383

8484
def test_curve_socket_server_options(curve_enabled_kernel_app):
8585
"""Bound sockets must have CURVE_SERVER=True when Curve is enabled."""
86-
app, connection_file_path = curve_enabled_kernel_app
86+
app, _connection_file_path = curve_enabled_kernel_app
8787
app.init_sockets()
8888
# shell and stdin are ROUTER sockets configured directly.
8989
assert app.shell_socket.curve_server, "shell_socket missing curve_server"
@@ -95,7 +95,7 @@ def test_curve_socket_server_options(curve_enabled_kernel_app):
9595

9696
def test_no_curve_socket_options_when_disabled(curve_disabled_kernel_app):
9797
"""No CURVE options are set when Curve is disabled (default)."""
98-
app, connection_file_path = curve_disabled_kernel_app
98+
app, _connection_file_path = curve_disabled_kernel_app
9999
app.init_sockets()
100100
# curve_server defaults to 0/False; key options are write-only.
101101
assert not app.shell_socket.curve_server
@@ -109,7 +109,7 @@ def test_curve_unauthenticated_socket_messages_dropped(curve_enabled_kernel_app)
109109
with test_transport_security.py in jupyter-client which shows the *absence*
110110
of this property today.
111111
"""
112-
app, connection_file_path = curve_enabled_kernel_app
112+
app, _connection_file_path = curve_enabled_kernel_app
113113
app.init_sockets()
114114

115115
# Build the endpoint URL from the bound port.
@@ -136,7 +136,7 @@ def test_curve_unauthenticated_socket_messages_dropped(curve_enabled_kernel_app)
136136

137137
def test_curve_authenticated_socket_can_communicate(curve_enabled_kernel_app):
138138
"""With CurveZMQ, a correctly-keyed client socket can reach the kernel."""
139-
app, connection_file_path = curve_enabled_kernel_app
139+
app, _connection_file_path = curve_enabled_kernel_app
140140
app.init_sockets()
141141

142142
endpoint = f"tcp://{app.ip}:{app.shell_port}"

0 commit comments

Comments
 (0)