tests: Revert a lorax patch

BZ 1843704 has been fixed and shipped in 8.3. We shouldn't need this
patch anymore!
This commit is contained in:
Alexander Todorov 2021-04-22 12:56:33 +03:00 committed by Alexander Todorov
parent f570cf51b7
commit ef0105945a
3 changed files with 0 additions and 24 deletions

View file

@ -13,14 +13,6 @@ function greenprint {
# Provision the software under tet.
/usr/libexec/osbuild-composer-test/provision.sh
# Apply lorax patch to work around pytoml issues in RHEL 8.x.
# See BZ 1843704 or https://github.com/weldr/lorax/pull/1030 for more details.
if [[ $ID == rhel ]]; then
sudo sed -r -i 's#toml.load\(args\[3\]\)#toml.load(open(args[3]))#' \
/usr/lib/python3.6/site-packages/composer/cli/compose.py
sudo rm -f /usr/lib/python3.6/site-packages/composer/cli/compose.pyc
fi
GOVC_CMD=/tmp/govc
# shellcheck source=/dev/null