summaryrefslogtreecommitdiff
path: root/tests/artifactcache/expiry.py
diff options
context:
space:
mode:
authorRaoul Hidalgo Charman <raoul.hidalgocharman@codethink.co.uk>2018-12-07 17:29:21 +0000
committerRaoul Hidalgo Charman <raoul.hidalgocharman@codethink.co.uk>2019-01-16 11:55:07 +0000
commit2683f98ae2aa90e3f23c2750224fe8a7410f336c (patch)
tree5d62810b21985edcb105053ec4d198b8b98b94ac /tests/artifactcache/expiry.py
parentd6587aa018490ee503450ea3683a6c836490aca1 (diff)
downloadbuildstream-2683f98ae2aa90e3f23c2750224fe8a7410f336c.tar.gz
_cas: Rename artifactcache folder and move that to a root module
Other components will start to reply on cas modules, and not the artifact cache modules so it should be organized to reflect this. All relevant imports have been changed. Part #802
Diffstat (limited to 'tests/artifactcache/expiry.py')
-rw-r--r--tests/artifactcache/expiry.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/artifactcache/expiry.py b/tests/artifactcache/expiry.py
index 05cbe3209..e73928363 100644
--- a/tests/artifactcache/expiry.py
+++ b/tests/artifactcache/expiry.py
@@ -342,13 +342,13 @@ def test_invalid_cache_quota(cli, datafiles, tmpdir, quota, success):
total_space = 10000
volume_space_patch = mock.patch(
- "buildstream._artifactcache.artifactcache.ArtifactCache._get_volume_space_info_for",
+ "buildstream._artifactcache.ArtifactCache._get_volume_space_info_for",
autospec=True,
return_value=(free_space, total_space),
)
cache_size_patch = mock.patch(
- "buildstream._artifactcache.artifactcache.ArtifactCache.get_cache_size",
+ "buildstream._artifactcache.ArtifactCache.get_cache_size",
autospec=True,
return_value=0,
)