def setUp(self):
super(TestCourseCatalogApiService, self).setUp()<EOL>self.user_mock = mock.Mock(spec=User)<EOL>self.get_data_mock = self._make_patch(self._make_catalog_api_location("<STR_LIT>"))<EOL>self.jwt_builder_mock = self._make_patch(self._make_catalog_api_location("<STR_LIT>"))<EOL>self.integration_config_mock = mock.Mock(enabled=True)<EOL>self.integration_config_mock.get_service_user.return_value = self.user_mock<EOL>self.integration_mock = self._make_patch(self._make_catalog_api_location("<STR_LIT>"))<EOL>self.integration_mock.current.return_value = self.integration_config_mock<EOL>self.api = CourseCatalogApiServiceClient()<EOL>
Set up mocks for the test suite.