Beispiel #1
0
 def test__parse_deploy_info(self, instance_info_mock, driver_info_mock):
     instance_info_mock.return_value = {'a': 'b'}
     driver_info_mock.return_value = {'c': 'd'}
     expected_info = {'a': 'b', 'c': 'd'}
     actual_info = ilo_deploy._parse_deploy_info(self.node)
     self.assertEqual(expected_info, actual_info)
Beispiel #2
0
 def test__parse_deploy_info(self, instance_info_mock, driver_info_mock):
     instance_info_mock.return_value = {'a': 'b'}
     driver_info_mock.return_value = {'c': 'd'}
     expected_info = {'a': 'b', 'c': 'd'}
     actual_info = ilo_deploy._parse_deploy_info(self.node)
     self.assertEqual(expected_info, actual_info)