Commit e54b8429 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][asset] Fix deletion test

Deletion happened in the original test prefix rather than
the temporary created for this particular test.
parent 520e433b
......@@ -191,6 +191,6 @@ class TestAsset:
tmp_prefix = os.path.join(prefix, "prefix")
shutil.copytree(test_prefix, tmp_prefix)
asset_name = self.existing_asset_name_map[asset_type]
asset = Asset(test_prefix, asset_type, asset_name)
asset = Asset(tmp_prefix, asset_type, asset_name)
result = asset.delete()
assert result
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment