diff options
Diffstat (limited to 'tests/artifactcache/push.py')
-rw-r--r-- | tests/artifactcache/push.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/artifactcache/push.py b/tests/artifactcache/push.py index 0bcf20502..0be2e4933 100644 --- a/tests/artifactcache/push.py +++ b/tests/artifactcache/push.py @@ -6,7 +6,6 @@ import os import pytest from buildstream import _yaml -from buildstream.types import _Scope from buildstream._project import Project from buildstream._protos.build.bazel.remote.execution.v2 import remote_execution_pb2 from buildstream.testing import cli # pylint: disable=unused-import @@ -33,12 +32,6 @@ def _push(cli, cache_dir, project_dir, config_file, target): # Create a local artifact cache handle artifactcache = context.artifactcache - # Ensure the element's artifact memeber is initialised - # This is duplicated from Pipeline.resolve_elements() - # as this test does not use the cli frontend. - for e in element._dependencies(_Scope.ALL): - e._initialize_state() - # Manually setup the CAS remotes artifactcache.setup_remotes(use_config=True) artifactcache.initialize_remotes() |