'>>> driver = DummyStorageDriver(\'key\', \'secret\')
>>> container_name = \'test container 1\'
>>> container = driver.create_container(container_name=container_name)
>>> container
<Container: name=test container 1, provider=Dummy Storage Provider>
>>> obj = container.upload_object_via_stream(
...      object_name=\'test object 5\',
...      iterator=DummyFileObject(5, 10), extra={})
>>> obj.name
\'test object 5\'
>>> obj.get_cdn_url()
\'http://www.test.com/object/test_object_5\'
@inherits: :class:`StorageDriver.get_object_cdn_url`'

def get_object_cdn_url(self, obj):

    container_name = obj.container.name
    container_objects = self._containers[container_name]['objects']
    if (obj.name not in container_objects):
        raise ObjectDoesNotExistError(object_name=obj.name, value=None, driver=self)
    return container_objects[obj.name].meta_data['cdn_url']
