def test_delete_file(storage):
    storage.push_file('sample.txt', overwrite_existing=True)
    assert (len(storage.list_objects('sample.txt')) == 1)
    deleted_objects = storage.delete('sample.txt')
    assert (len(deleted_objects) == 1)
    assert (len(storage.list_objects('sample.txt')) == 0)
def test_delete_file(storage):
    storage.push_file('sample.txt', overwrite_existing=True)
    assert (len(storage.list_objects('sample.txt')) == 1)
    deleted_objects = storage.delete('sample.txt')
    assert (len(deleted_objects) == 1)
    assert (len(storage.list_objects('sample.txt')) == 0)