'Tests that the \'user\', \'i18n\', and \'fs\' services are provided by the LMS runtime.'

@XBlock.register_temp_plugin(PureXBlock, identifier='pure')
@ddt.data('user', 'i18n', 'fs', 'field-data', 'bookmarks')
def test_expected_services_exist(self, expected_service):

    descriptor = ItemFactory(category='pure', parent=self.course)
    (runtime, _) = render.get_module_system_for_user(self.user, self.student_data, descriptor, self.course.id, self.track_function, self.xqueue_callback_url_prefix, self.request_token, course=self.course)
    service = runtime.service(descriptor, expected_service)
    self.assertIsNotNone(service)
