def test_storage_upload_with_prefix():
    storage = app_storage()
    object_name = "my-txt-hello-hello"
    prefix = "dir1/dir2/dir3/"
    full_name = "%s%s.%s" % (prefix, object_name, "txt")
    o = storage.upload(CWD + "/data/hello.txt", name=object_name, prefix=prefix, overwrite=True)
    assert storage in full_name
    assert o.name == full_name
dataset/ETHPy150Open mardix/flask-cloudy/tests/test_cloudy.py/test_storage_upload_with_prefix/swapped operands of `in`