diff --git a/tests/core/iptables_test.py b/tests/core/iptables_test.py index eaa097d9..2926b917 100644 --- a/tests/core/iptables_test.py +++ b/tests/core/iptables_test.py @@ -2,7 +2,6 @@ import mock -from node_cli.core.iptables import allow_ssh from node_cli.utils.helper import get_ssh_port @@ -11,9 +10,3 @@ def test_get_ssh_port(): assert get_ssh_port('http') == 80 with mock.patch.object(socket, 'getservbyname', side_effect=OSError): assert get_ssh_port() == 22 - - -def test_allow_ssh(): - chain = mock.Mock() - chain.rules = [] - allow_ssh(chain)