Exemplo n.º 1
0
 def test_list_services(self):
     '''
     Test for List services added for zone as a space separated list.
     '''
     with patch.object(firewalld, '__firewall_cmd', return_value=''):
         self.assertEqual(firewalld.list_services(), [])
Exemplo n.º 2
0
 def test_list_services(self):
     """
     Test for List services added for zone as a space separated list.
     """
     with patch.object(firewalld, "__firewall_cmd", return_value=""):
         self.assertEqual(firewalld.list_services(), [])
Exemplo n.º 3
0
 def test_list_services(self):
     '''
     Test for List services added for zone as a space separated list.
     '''
     with patch.object(firewalld, '__firewall_cmd', return_value=''):
         self.assertEqual(firewalld.list_services(), [])