summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authormangano-ito <47137677+mangano-ito@users.noreply.github.com>2022-02-10 08:36:14 +0900
committermangano-ito <47137677+mangano-ito@users.noreply.github.com>2022-02-10 08:41:22 +0900
commit1d4c059f445aab6a42fe29306baba5795f2567b7 (patch)
treeee8b8f3ffafb45cbb40af732f949ca466655eb21 /tests
parentb9b89c3f55f9088408c89010e15e52a81d4ec52e (diff)
format styles: E251 unexpected spaces around keyword / parameter equals (flake8)
Diffstat (limited to 'tests')
-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([