

def test_delete_container_not_empty(self):
    AtmosMockHttp.type = 'NOT_EMPTY'
    container = Container(name='foo_bar_container', extra={
        
    }, driver=self)
    try:
        self.driver.delete_container(container=self)
    except ContainerIsNotEmptyError:
        pass
    else:
        self.fail('Container is not empty but an exception was not thrown')

dataset/ETHPy150Open apache/libcloud/libcloud/test/storage/test_atmos.py AtmosTests.test_delete_container_not_empty/VarMisuse@48/69 `container`->`self`