From cfe14f249856fe7b29ee5bdfdc4013cc40ae0dcd Mon Sep 17 00:00:00 2001 From: Scott Kuhl Date: Sat, 17 Oct 2020 15:40:28 -0400 Subject: [PATCH] fix flake8 issues in updated tests --- tests/client/test_options.py | 6 ++++-- 1 file 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():