Beispiel #1
0
 def test_list_users(self):
     '''
     Test if it list all users
     '''
     with patch('salt.modules.ilo.__execute_cmd',
                MagicMock(return_value={'All users': {}})):
         self.assertDictEqual(ilo.list_users(), {'All users': {}})
Beispiel #2
0
 def test_list_users(self):
     """
     Test if it list all users
     """
     with patch("salt.modules.ilo.__execute_cmd",
                MagicMock(return_value={"All users": {}})):
         self.assertDictEqual(ilo.list_users(), {"All users": {}})
Beispiel #3
0
 def test_list_users(self):
     '''
     Test if it list all users
     '''
     self.assertDictEqual(ilo.list_users(), {'All users': {}})
Beispiel #4
0
 def test_list_users(self):
     '''
     Test if it list all users
     '''
     self.assertDictEqual(ilo.list_users(), {'All users': {}})