diff options
author | Bastian Venthur <venthur@debian.org> | 2022-06-14 20:02:12 +0200 |
---|---|---|
committer | Brian May <brian@linuxpenguins.xyz> | 2022-06-15 07:43:25 +1000 |
commit | a33a4829e2b1866e281764d13ecfe6da27fbb7a4 (patch) | |
tree | 51fbea34ab9a3624aec59268b0df56e6917495af /tests | |
parent | 90ec0a9cb671800944fd770288e68daf764a5289 (diff) |
fixed some spelling mistakes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/client/test_methods_nat.py | 2 | ||||
-rw-r--r-- | tests/client/test_methods_pf.py | 6 | ||||
-rw-r--r-- | tests/client/test_methods_tproxy.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/client/test_methods_nat.py b/tests/client/test_methods_nat.py index 6f7ae48..61b74b5 100644 --- a/tests/client/test_methods_nat.py +++ b/tests/client/test_methods_nat.py @@ -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') diff --git a/tests/client/test_methods_pf.py b/tests/client/test_methods_pf.py index dca5c51..ea7416a 100644 --- a/tests/client/test_methods_pf.py +++ b/tests/client/test_methods_pf.py @@ -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, diff --git a/tests/client/test_methods_tproxy.py b/tests/client/test_methods_tproxy.py index 994a907..d7bc33f 100644 --- a/tests/client/test_methods_tproxy.py +++ b/tests/client/test_methods_tproxy.py @@ -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') |