diff --git a/beaker-tests/Sanity/copr-cli-basic-operations/runtest-createrepo.sh b/beaker-tests/Sanity/copr-cli-basic-operations/runtest-createrepo.sh index 81cd49174..dd3b68eee 100755 --- a/beaker-tests/Sanity/copr-cli-basic-operations/runtest-createrepo.sh +++ b/beaker-tests/Sanity/copr-cli-basic-operations/runtest-createrepo.sh @@ -34,7 +34,7 @@ rlJournalStart rlPhaseEnd rlPhaseStartCleanup - rlRun "copr-cli delete ${NAME_PREFIX}Createrepo" + cleanProject "${NAME_PREFIX}Createrepo" rlRun "dnf -y copr remove ${URL}/${NAME_PREFIX}Createrepo" rlPhaseEnd rlJournalPrintText diff --git a/beaker-tests/Sanity/copr-cli-basic-operations/runtest-storage.sh b/beaker-tests/Sanity/copr-cli-basic-operations/runtest-storage.sh index cdec608cd..94e414e9a 100755 --- a/beaker-tests/Sanity/copr-cli-basic-operations/runtest-storage.sh +++ b/beaker-tests/Sanity/copr-cli-basic-operations/runtest-storage.sh @@ -47,12 +47,11 @@ rlJournalStart rlAssertRpm "hello" rlRun "dnf remove hello -y" rlRun "yes | dnf copr remove $DNF_COPR_ID/$project" - - rlRun "copr-cli delete $project" done rlPhaseEnd rlPhaseStartCleanup + cleanProject "$project" workdirCleanup rlPhaseEnd rlJournalPrintText