summaryrefslogtreecommitdiff
path: root/tests/sourcecache
diff options
context:
space:
mode:
authorRaoul Hidalgo Charman <raoul.hidalgocharman@codethink.co.uk>2019-03-28 12:31:50 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-05-15 10:18:26 +0000
commit30e89a6a3cdcea83e0d83e373e50b88c02df3667 (patch)
tree2ca584a89133bdc0efe2fa5d876173f48d7f396c /tests/sourcecache
parent7c1bb299c891b7fe8b92e1d54a38eca0b55840ef (diff)
downloadbuildstream-30e89a6a3cdcea83e0d83e373e50b88c02df3667.tar.gz
_artifact.py: Rework to use artifact proto
This will replace the previous use of a directory structure. Quite a lot is changed here, predominantly _artifact and _artifactcache modules. Part of #974
Diffstat (limited to 'tests/sourcecache')
-rw-r--r--tests/sourcecache/fetch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sourcecache/fetch.py b/tests/sourcecache/fetch.py
index bc025cbd5..899e162aa 100644
--- a/tests/sourcecache/fetch.py
+++ b/tests/sourcecache/fetch.py
@@ -95,6 +95,7 @@ def test_source_fetch(cli, tmpdir, datafiles):
os.path.join(str(tmpdir), 'cache', 'cas'),
os.path.join(str(tmpdir), 'sourceshare', 'repo'))
shutil.rmtree(os.path.join(str(tmpdir), 'cache', 'sources'))
+ shutil.rmtree(os.path.join(str(tmpdir), 'cache', 'artifacts'))
digest = share.cas.resolve_ref(source._get_source_name())
assert share.has_object(digest)