summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-29 18:19:19 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-29 18:19:19 +0900
commit1b878835991dc4d37d302cf9d64b52791f534adf (patch)
treeabc0eb95eda886a488d591c469afb0f5551925fa
parentdb03912ebbe33337076d3edf26714bf3b42b50bc (diff)
downloadbuildstream-1b878835991dc4d37d302cf9d64b52791f534adf.tar.gz
tests/testutils/runcli.py: get_element_state() now uses --downloadable
This wont take any additional time because if there is a remote artifact share configured in the pytest suite, it can only be a locally created one - this makes the push/pull tests work after recently making downloading of remote refs optional for the sake of issue #140.
-rw-r--r--tests/testutils/runcli.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testutils/runcli.py b/tests/testutils/runcli.py
index 056a8486d..593bc9448 100644
--- a/tests/testutils/runcli.py
+++ b/tests/testutils/runcli.py
@@ -112,6 +112,7 @@ class Cli():
'show',
'--deps', 'none',
'--format', '%{state}',
+ '--downloadable',
element_name
])
assert result.exit_code == 0