diff options
author | Jürg Billeter <j@bitron.ch> | 2020-12-14 23:46:30 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-12-14 23:46:30 +0100 |
commit | e21cfb141b8ce07aa90e0217270ff0f7c96ac007 (patch) | |
tree | b212b604809756444e0e500c5afb95caecb80fba | |
parent | 35215f646eaec26b33d8780101761955d6fd9fb2 (diff) | |
download | buildstream-e21cfb141b8ce07aa90e0217270ff0f7c96ac007.tar.gz |
fixup test
-rw-r--r-- | tests/artifactcache/push.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/artifactcache/push.py b/tests/artifactcache/push.py index 74062ce47..17ad2e2a7 100644 --- a/tests/artifactcache/push.py +++ b/tests/artifactcache/push.py @@ -43,6 +43,9 @@ def _push(cli, cache_dir, project_dir, config_file, target): artifactcache.setup_remotes(use_config=True) artifactcache.initialize_remotes() + # Query local cache + element._load_artifact(pull=False) + assert artifactcache.has_push_remotes(plugin=element), "No remote configured for element target.bst" assert element._push(), "Push operation failed" |