Esempio n. 1
0
 def test_list_users_info(self):
     '''
     Test if it List all users in detail
     '''
     with patch('salt.modules.ilo.__execute_cmd',
                MagicMock(return_value={'All users info': {}})):
         self.assertDictEqual(ilo.list_users_info(), {'All users info': {}})
Esempio n. 2
0
 def test_list_users_info(self):
     """
     Test if it List all users in detail
     """
     with patch(
             "salt.modules.ilo.__execute_cmd",
             MagicMock(return_value={"All users info": {}}),
     ):
         self.assertDictEqual(ilo.list_users_info(), {"All users info": {}})
Esempio n. 3
0
 def test_list_users_info(self):
     '''
     Test if it List all users in detail
     '''
     self.assertDictEqual(ilo.list_users_info(), {'All users info': {}})
Esempio n. 4
0
 def test_list_users_info(self):
     '''
     Test if it List all users in detail
     '''
     self.assertDictEqual(ilo.list_users_info(), {'All users info': {}})