diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/artifactcache/push.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/artifactcache/push.py b/tests/artifactcache/push.py index 7160e05b4..07f2c2560 100644 --- a/tests/artifactcache/push.py +++ b/tests/artifactcache/push.py @@ -36,9 +36,7 @@ def _push(cli, cache_dir, project_dir, config_file, target): # This is duplicated from Pipeline.resolve_elements() # as this test does not use the cli frontend. for e in element.dependencies(Scope.ALL): - # Determine initial element state. - if not element._resolved_initial_state: - e._initialize_state() + e._initialize_state() # Manually setup the CAS remotes artifactcache.setup_remotes(use_config=True) |