def test_remove_service(self): ''' Test for Remove a service from zone ''' with patch.object(firewalld, '__firewall_cmd', return_value=''): self.assertEqual(firewalld.remove_service('name'), '')
def test_remove_service(self): """ Test for Remove a service from zone """ with patch.object(firewalld, "__firewall_cmd", return_value=""): self.assertEqual(firewalld.remove_service("name"), "")
def test_remove_service(self): ''' Test for Remove a service from zone ''' with patch.object(firewalld, '__firewall_cmd', return_value=''): self.assertEqual(firewalld.remove_service('name'), '')