def test_add_port(self):
        with patch.object(firewalld, '__firewall_cmd', return_value='success'):
            self.assertEqual(firewalld.add_port('zone', '80/tcp'), 'success')
Format:
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/firewalld_test.py/FirewalldTestCase.test_add_port--crossover with--dataset/ETHPy150Open limodou/par/par/bootstrap_ext.py/new_bootstrap_alert