uitests: Mock virtBootstrap

It's historically flakey to keep it + skopeo + virt-sandbox
all working, let's just mock it

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson
2022-01-17 15:12:42 -05:00
parent 92c0c4e1a7
commit 4f02ccd7b5
3 changed files with 22 additions and 9 deletions

View File

@@ -876,11 +876,8 @@ def testNewVMContainerVZ(app):
def testNewVMContainerBootstrap(app):
app.uri = tests.utils.URIs.lxc
try:
import virtBootstrap # pylint: disable=unused-import
except ImportError:
pytest.skip("virtBootstrap not installed")
app.open(uri=tests.utils.URIs.lxc,
extra_opts=["--test-options=fake-virtbootstrap"])
newvm = _open_newvm(app)
newvm.find_fuzzy("Operating system", "radio").click()