This directory contains integration tests for bootc-image-builder.
They can be run in two ways
-
On the local machine:
By just runningsudo pytest -s -v
in the top level folder of the project (whereContainerfile
is)
If you have set uppip
only for your user, you might just want to run the test with elevated privileges
sudo -E $(which pytest) -s -v
-
Via
tmt
[0] which will spin up a clean VM and run the tests inside:tmt run -vvv
[0] https://github.com/teemtee/tmt
To install tmt
on fedora at least those packages are needed:
sudo dnf install tmt tmt+provision-virtual