mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-07-07 10:10:34 +02:00
format styles: E251 unexpected spaces around keyword / parameter equals (flake8)
This commit is contained in:
@ -121,7 +121,7 @@ def test_convert_arg_line_to_args_skips_comments():
|
|||||||
assert parser.convert_arg_line_to_args("# whatever something") == []
|
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):
|
def test_parse_subnetport_host(mock_getaddrinfo):
|
||||||
assert set(sshuttle.options.parse_subnetport('example.com')) \
|
assert set(sshuttle.options.parse_subnetport('example.com')) \
|
||||||
== set([
|
== 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):
|
def test_parse_subnetport_host_with_port(mock_getaddrinfo):
|
||||||
assert set(sshuttle.options.parse_subnetport('example.com:80')) \
|
assert set(sshuttle.options.parse_subnetport('example.com:80')) \
|
||||||
== set([
|
== set([
|
||||||
|
Reference in New Issue
Block a user