mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-19 12:28:28 +01:00
parent
a215f1b227
commit
884bd6deb0
@ -67,9 +67,6 @@ def test_parse_subnetport_ip6():
|
|||||||
for ip_repr, ip in _ip6_reprs.items():
|
for ip_repr, ip in _ip6_reprs.items():
|
||||||
assert sshuttle.options.parse_subnetport(ip_repr) \
|
assert sshuttle.options.parse_subnetport(ip_repr) \
|
||||||
== (socket.AF_INET6, ip, 128, 0, 0)
|
== (socket.AF_INET6, ip, 128, 0, 0)
|
||||||
with pytest.raises(Fatal) as excinfo:
|
|
||||||
sshuttle.options.parse_subnetport('2001::1::3f')
|
|
||||||
assert str(excinfo.value) == 'Unable to resolve address: 2001::1::3f'
|
|
||||||
|
|
||||||
|
|
||||||
def test_parse_subnetport_ip6_with_mask():
|
def test_parse_subnetport_ip6_with_mask():
|
||||||
|
Loading…
Reference in New Issue
Block a user