

def test_delete_object_not_found(self):
    AtmosMockHttp.type = 'NOT_FOUND'
    container = Container(name='foo_bar_container', extra={
        
    }, driver=self.driver)
    obj = Object(name='foo_bar_object', size=1000, hash=None, extra={
        
    }, container=container, meta_data=None, driver=self.driver)
    try:
        self.driver.delete_object(obj=obj)
    except ObjectDoesNotExistError:
        pass
    else:
        container.fail('Object does not exist but an exception was not thrown')

dataset/ETHPy150Open apache/libcloud/libcloud/test/storage/test_atmos.py AtmosTests.test_delete_object_not_found/VarMisuse@104/138 `self`->`container`