tests: don't depend on internal state of composer
This commit is contained in:
parent
7b08fa8838
commit
123827c90a
@ -47,7 +47,6 @@ __EOF__
|
||||
|
||||
rlRun -t -c "$CLI blueprints push beakerlib.toml"
|
||||
rlAssertEquals "pushed bp is found via list" "`$CLI blueprints list | grep beakerlib`" "beakerlib"
|
||||
rlAssertExists "$BLUEPRINTS_DIR/git/workspace/master/beakerlib.toml"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "blueprints show"
|
||||
@ -76,7 +75,6 @@ __EOF__
|
||||
rlPhaseStartTest "blueprints delete"
|
||||
rlRun -t -c "$CLI blueprints delete beakerlib"
|
||||
rlAssertEquals "bp not found after delete" "`$CLI blueprints list | grep beakerlib`" ""
|
||||
rlAssertNotExists "$BLUEPRINTS_DIR/git/workspace/master/beakerlib.toml"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "start a compose with deleted blueprint"
|
||||
|
@ -103,7 +103,9 @@ rlJournalStart
|
||||
|
||||
rlRun -t -c "$CLI compose image $UUID"
|
||||
rlAssertExists "$UUID-disk.qcow2"
|
||||
fi
|
||||
|
||||
if [ "$BACKEND" != "osbuild-composer" ]; then
|
||||
# because this path is listed in the documentation
|
||||
rlAssertExists "/var/lib/lorax/composer/results/$UUID/"
|
||||
rlAssertExists "/var/lib/lorax/composer/results/$UUID/disk.qcow2"
|
||||
|
Loading…
Reference in New Issue
Block a user