diff options
author | Scott Kuhl <kuhl@mtu.edu> | 2020-10-17 15:40:28 -0400 |
---|---|---|
committer | Scott Kuhl <kuhl@mtu.edu> | 2020-10-17 15:40:28 -0400 |
commit | cfe14f249856fe7b29ee5bdfdc4013cc40ae0dcd (patch) | |
tree | 4a2bc8757f02075d4fddf6b2c69487da6fbce74c /tests | |
parent | cb53d8a150c668a080f36eaec439181af1a3dd15 (diff) |
fix flake8 issues in updated tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/client/test_options.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/client/test_options.py b/tests/client/test_options.py index f8dee73..2245075 100644 --- a/tests/client/test_options.py +++ b/tests/client/test_options.py @@ -47,7 +47,8 @@ def test_parse_subnetport_ip4_with_mask(): == [(socket.AF_INET, '0.0.0.0', 0, 0, 0)] with pytest.raises(Fatal) as excinfo: sshuttle.options.parse_subnetport('10.0.0.0/33') - assert str(excinfo.value) == 'Slash in CIDR notation (/33) is not between 0 and 32' + assert str(excinfo.value) \ + == 'Slash in CIDR notation (/33) is not between 0 and 32' def test_parse_subnetport_ip4_with_port(): @@ -82,7 +83,8 @@ def test_parse_subnetport_ip6_with_mask(): == [(socket.AF_INET6, '::', 0, 0, 0)] with pytest.raises(Fatal) as excinfo: sshuttle.options.parse_subnetport('fc00::/129') - assert str(excinfo.value) == 'Slash in CIDR notation (/129) is not between 0 and 128' + assert str(excinfo.value) \ + == 'Slash in CIDR notation (/129) is not between 0 and 128' def test_parse_subnetport_ip6_with_port(): |