summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/client/test_options.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/client/test_options.py b/tests/client/test_options.py
index 85dc88d..6969ce1 100644
--- a/tests/client/test_options.py
+++ b/tests/client/test_options.py
@@ -121,7 +121,7 @@ def test_convert_arg_line_to_args_skips_comments():
assert parser.convert_arg_line_to_args("# whatever something") == []
-@patch('sshuttle.options.socket.getaddrinfo', side_effect = _mock_getaddrinfo)
+@patch('sshuttle.options.socket.getaddrinfo', side_effect=_mock_getaddrinfo)
def test_parse_subnetport_host(mock_getaddrinfo):
assert set(sshuttle.options.parse_subnetport('example.com')) \
== set([
@@ -135,7 +135,7 @@ def test_parse_subnetport_host(mock_getaddrinfo):
])
-@patch('sshuttle.options.socket.getaddrinfo', side_effect = _mock_getaddrinfo)
+@patch('sshuttle.options.socket.getaddrinfo', side_effect=_mock_getaddrinfo)
def test_parse_subnetport_host_with_port(mock_getaddrinfo):
assert set(sshuttle.options.parse_subnetport('example.com:80')) \
== set([