diff options
Diffstat (limited to 'tests/artifactcache')
-rw-r--r-- | tests/artifactcache/pull.py | 2 | ||||
-rw-r--r-- | tests/artifactcache/push.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/artifactcache/pull.py b/tests/artifactcache/pull.py index 3e05bcecf..3c10c256c 100644 --- a/tests/artifactcache/pull.py +++ b/tests/artifactcache/pull.py @@ -150,7 +150,7 @@ def _test_pull(user_config_file, project_dir, cache_dir, # Manually setup the CAS remote cas.setup_remotes(use_config=True) - if cas.has_push_remotes(element=element): + if cas.has_push_remotes(plugin=element): # Push the element's artifact if not cas.pull(element, element_key): queue.put("Pull operation failed") diff --git a/tests/artifactcache/push.py b/tests/artifactcache/push.py index 18d6d80bc..69f3fbfbb 100644 --- a/tests/artifactcache/push.py +++ b/tests/artifactcache/push.py @@ -125,7 +125,7 @@ def _test_push(user_config_file, project_dir, element_name, element_key, queue): cas.setup_remotes(use_config=True) cas.initialize_remotes() - if cas.has_push_remotes(element=element): + if cas.has_push_remotes(plugin=element): # Push the element's artifact if not cas.push(element, [element_key]): queue.put("Push operation failed") @@ -184,7 +184,7 @@ def test_push_directory(cli, tmpdir, datafiles): # Manually setup the CAS remote artifactcache.setup_remotes(use_config=True) artifactcache.initialize_remotes() - assert artifactcache.has_push_remotes(element=element) + assert artifactcache.has_push_remotes(plugin=element) # Recreate the CasBasedDirectory object from the cached artifact artifact_ref = element.get_artifact_name(element_key) |