mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-25 01:13:37 +01:00
format styles: E251 unexpected spaces around keyword / parameter equals (flake8)
This commit is contained in:
parent
b9b89c3f55
commit
1d4c059f44
@ -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([
|
||||
|
Loading…
Reference in New Issue
Block a user