summaryrefslogtreecommitdiff
path: root/tests/artifactcache
diff options
context:
space:
mode:
authorAngelos Evripiotis <jevripiotis@bloomberg.net>2019-03-13 14:46:53 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-03-21 15:58:17 +0000
commit7d458be19e26cfd7ef3ac682cf864044bb1e9d56 (patch)
treea9f8aa10f02369b8f34a7deccb37288b1a30b94c /tests/artifactcache
parent7b8c730e53326c89386ffc661a0200df2706e29f (diff)
downloadbuildstream-7d458be19e26cfd7ef3ac682cf864044bb1e9d56.tar.gz
_artifactcache: don't define CACHE_SIZE_FILE twice
No need to define CACHE_SIZE_FILE in _artifactcache, it is not used here by the main application, and it is already defined and used in _cas.cascache. Fixup the reference in tests to refer to _cas.cascache instead.
Diffstat (limited to 'tests/artifactcache')
-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 104c43ce0..c6ba15794 100644
--- a/tests/artifactcache/cache_size.py
+++ b/tests/artifactcache/cache_size.py
@@ -2,7 +2,7 @@ import os
from unittest import mock
from buildstream import _yaml
-from buildstream._artifactcache import CACHE_SIZE_FILE
+from buildstream._cas.cascache import CACHE_SIZE_FILE
from buildstream._exceptions import ErrorDomain
from buildstream.plugintestutils import cli