Skip to content
Snippets Groups Projects
Commit 74505031 authored by Jürg Billeter's avatar Jürg Billeter
Browse files

tests/testutils: Use Context for artifact cache creation

parent 7ffdcde9
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,6 @@ from multiprocessing import Process, Queue
import pytest_cov
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
......@@ -49,7 +48,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment