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(), [])
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(), [])