diff options
author | Jürg Billeter <j@bitron.ch> | 2018-09-26 10:20:08 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-04-14 16:25:19 +0900 |
commit | 2badd7f71e0d0baed343f2c5772a6c00bffb8df4 (patch) | |
tree | 15d6b3860a1c1fceaa1d29d3aa8af611605425bf | |
parent | f85d605105ed8f15a0b81b19ed21cd3512259a6e (diff) | |
download | buildstream-2badd7f71e0d0baed343f2c5772a6c00bffb8df4.tar.gz |
tests/testutils: Use Context for artifact cache creation
-rw-r--r-- | tests/testutils/artifactshare.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testutils/artifactshare.py b/tests/testutils/artifactshare.py index 1e417c592..71aac534b 100644 --- a/tests/testutils/artifactshare.py +++ b/tests/testutils/artifactshare.py @@ -10,7 +10,6 @@ from contextlib import contextmanager from multiprocessing import Process, Queue from buildstream import _yaml -from buildstream._artifactcache.cascache import CASCache from buildstream._artifactcache.casserver import create_server from buildstream._context import Context from buildstream._exceptions import ArtifactError @@ -51,7 +50,7 @@ class ArtifactShare(): context = Context() context.artifactdir = self.repodir - self.cas = CASCache(context) + self.cas = context.artifactcache self.total_space = total_space self.free_space = free_space |