'Creates a resource URL for a given asset that is compatible with this old XModule testing stuff.'

def _get_resource_url(self, item):

    display_name = self.item_descriptor.display_name.replace('    ', '_')
    return 'resource/i4x://{}/{}/word_cloud/{}/{}'.format(self.course.id.org, self.course.id.course, display_name, item)
