tests: don't depend on internal state of composer

This commit is contained in:
Lars Karlitski 2019-12-04 00:38:43 +01:00 committed by Brian C. Lane
parent 7b08fa8838
commit 123827c90a
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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"