import unittest
import mock

from tests.utils.remote_firewall_control import RemoteFirewallControl
from tests.utils.remote_firewall_control import RemoteFirewallControlIpTables
from tests.utils.remote_firewall_control import RemoteFirewallControlFirewallCmd
from tests.unit.remote_operations import RealRemoteOperations as RRO
from iml_common.lib.shell import Shell


class TestRemoteFirewallControlIpTables(unittest.TestCase):
    """ Class for testing the RemoteFirewallControlIpTables classes """

    @staticmethod
    def example_func_1(address, command, expected_return_code=None):
        # example output from 'iptables -L' or 'service iptables status' if firewall not configured
        not_configured_output = """Table: filter