summaryrefslogtreecommitdiff
path: root/tests/artifactcache/expiry.py
diff options
context:
space:
mode:
authorRaoul Hidalgo Charman <raoul.hidalgocharman@codethink.co.uk>2019-01-23 15:59:04 +0000
committerJürg Billeter <j@bitron.ch>2019-02-19 17:05:17 +0000
commitc7f76268cc6f35209587749df85f3af9cfbaabf1 (patch)
tree5743ab0d84c47ba28fb5659acd266fadca7d82fd /tests/artifactcache/expiry.py
parent52c0c185d964bf696e320be97663c412e020b427 (diff)
downloadbuildstream-c7f76268cc6f35209587749df85f3af9cfbaabf1.tar.gz
cachedir: add new dir option that's default root to other dirs
Makes artifactdir and builddir obsolete. Fixes #870
Diffstat (limited to 'tests/artifactcache/expiry.py')
-rw-r--r--tests/artifactcache/expiry.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/artifactcache/expiry.py b/tests/artifactcache/expiry.py
index d92e68f0b..ac122eb19 100644
--- a/tests/artifactcache/expiry.py
+++ b/tests/artifactcache/expiry.py
@@ -436,7 +436,7 @@ def test_extract_expiry(cli, datafiles, tmpdir):
# Now we should have a directory for the cached target2.bst, which
# replaced target.bst in the cache, we should not have a directory
# for the target.bst
- refsdir = os.path.join(project, 'cache', 'artifacts', 'cas', 'refs', 'heads')
+ refsdir = os.path.join(project, 'cache', 'cas', 'refs', 'heads')
refsdirtest = os.path.join(refsdir, 'test')
refsdirtarget = os.path.join(refsdirtest, 'target')
refsdirtarget2 = os.path.join(refsdirtest, 'target2')