tests: Don't check example blueprints if we don't have to
ATM osbuild-composer doesn't ship example blueprints
Cherry-picked from d68e01b7e1
Related: rhbz#1825190
This commit is contained in:
parent
9193384bb8
commit
b72bb63599
@ -11,10 +11,12 @@ CLI="${CLI:-./src/bin/composer-cli}"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartTest "blueprints list"
|
||||
for bp in example-http-server example-development example-atlas; do
|
||||
rlAssertEquals "blueprint list finds $bp" \
|
||||
"`$CLI blueprints list | grep $bp`" "$bp"
|
||||
done
|
||||
if [ "$BACKEND" != "osbuild-composer" ]; then
|
||||
for bp in example-http-server example-development example-atlas; do
|
||||
rlAssertEquals "blueprint list finds $bp" \
|
||||
"`$CLI blueprints list | grep $bp`" "$bp"
|
||||
done
|
||||
fi
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "blueprints save"
|
||||
|
Loading…
Reference in New Issue
Block a user