fixed some spelling mistakes

This commit is contained in:
Bastian Venthur
2022-06-14 20:02:12 +02:00
committed by Brian May
parent 90ec0a9cb6
commit a33a4829e2
4 changed files with 6 additions and 6 deletions

View File

@ -81,7 +81,7 @@ def test_assert_features():
def test_firewall_command():
method = get_method('nat')
assert not method.firewall_command("somthing")
assert not method.firewall_command("something")
@patch('sshuttle.methods.nat.ipt')

View File

@ -92,7 +92,7 @@ def test_assert_features():
@patch('sshuttle.methods.pf.pf_get_dev')
def test_firewall_command_darwin(mock_pf_get_dev, mock_ioctl, mock_stdout):
method = get_method('pf')
assert not method.firewall_command("somthing")
assert not method.firewall_command("something")
command = "QUERY_PF_NAT %d,%d,%s,%d,%s,%d\n" % (
AF_INET, socket.IPPROTO_TCP,
@ -115,7 +115,7 @@ def test_firewall_command_darwin(mock_pf_get_dev, mock_ioctl, mock_stdout):
@patch('sshuttle.methods.pf.pf_get_dev')
def test_firewall_command_freebsd(mock_pf_get_dev, mock_ioctl, mock_stdout):
method = get_method('pf')
assert not method.firewall_command("somthing")
assert not method.firewall_command("something")
command = "QUERY_PF_NAT %d,%d,%s,%d,%s,%d\n" % (
AF_INET, socket.IPPROTO_TCP,
@ -138,7 +138,7 @@ def test_firewall_command_freebsd(mock_pf_get_dev, mock_ioctl, mock_stdout):
@patch('sshuttle.methods.pf.pf_get_dev')
def test_firewall_command_openbsd(mock_pf_get_dev, mock_ioctl, mock_stdout):
method = get_method('pf')
assert not method.firewall_command("somthing")
assert not method.firewall_command("something")
command = "QUERY_PF_NAT %d,%d,%s,%d,%s,%d\n" % (
AF_INET, socket.IPPROTO_TCP,

View File

@ -78,7 +78,7 @@ def test_assert_features():
def test_firewall_command():
method = get_method('tproxy')
assert not method.firewall_command("somthing")
assert not method.firewall_command("something")
@patch('sshuttle.methods.tproxy.ipt')