test: use python based integration test

Instead of creating a compose from integration.sh, use the new
python based integration tests. The integration.sh script will
this just setup the environment and the actual tests are all
found in test/integration/
This commit is contained in:
Christian Kellner 2020-09-11 16:51:20 +02:00 committed by Tom Gundersen
parent 6fbdcf505f
commit 0180bce383

View file

@ -81,13 +81,8 @@ sudo ./run-builder.sh start
greenprint "Creating Koji tag infrastructure"
./make-tags.sh
greenprint "Creating a compose"
koji --server=http://localhost/kojihub \
--user=kojiadmin \
--password=kojipass \
--authtype=password \
osbuild-image Fedora-Cloud 32 fedora-32 f32-candidate x86_64 \
--repo 'http://download.fedoraproject.org/pub/fedora/linux/releases/32/Everything/$arch/os/'
greenprint "Running integration tests"
python3 -m unittest discover -v test/integration/
greenprint "Stopping koji builder"
sudo ./run-builder.sh stop