summaryrefslogtreecommitdiff
path: root/tests/artifactcache/cache_size.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/artifactcache/cache_size.py')
-rw-r--r--tests/artifactcache/cache_size.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/artifactcache/cache_size.py b/tests/artifactcache/cache_size.py
index 11c8f6194..63ab9ad07 100644
--- a/tests/artifactcache/cache_size.py
+++ b/tests/artifactcache/cache_size.py
@@ -80,7 +80,7 @@ def test_quota_over_1024T(cli, tmpdir):
_yaml.dump({'name': 'main'}, str(project.join("project.conf")))
volume_space_patch = mock.patch(
- "buildstream._artifactcache.ArtifactCache._get_volume_space_info_for",
+ "buildstream._artifactcache.ArtifactCache._get_cache_volume_size",
autospec=True,
return_value=(1025 * TiB, 1025 * TiB)
)