예제 #1
0
파일: test_ilo.py 프로젝트: morinap/salt-1
 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': {}})
예제 #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": {}})
예제 #3
0
파일: test_ilo.py 프로젝트: cldeluna/salt
 def test_list_users(self):
     '''
     Test if it list all users
     '''
     self.assertDictEqual(ilo.list_users(), {'All users': {}})
예제 #4
0
파일: ilo_test.py 프로젝트: DaveQB/salt
 def test_list_users(self):
     '''
     Test if it list all users
     '''
     self.assertDictEqual(ilo.list_users(), {'All users': {}})