virt-manager: fix filtered tests

This commit is contained in:
Bernardo Meurer 2022-03-13 20:59:50 -07:00
parent 976a5bc9ff
commit 9ae6eefd05
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246

View file

@ -1,7 +1,7 @@
{ lib, fetchFromGitHub, python3, intltool, file, wrapGAppsHook, gtk-vnc { lib, fetchFromGitHub, python3, intltool, file, wrapGAppsHook, gtk-vnc
, vte, avahi, dconf, gobject-introspection, libvirt-glib, system-libvirt , vte, avahi, dconf, gobject-introspection, libvirt-glib, system-libvirt
, gsettings-desktop-schemas, libosinfo, gnome, gtksourceview4, docutils, cpio , gsettings-desktop-schemas, libosinfo, gnome, gtksourceview4, docutils, cpio
, e2fsprogs, findutils, gzip, cdrtools , e2fsprogs, findutils, gzip, cdrtools, xorriso
, spiceSupport ? true, spice-gtk ? null , spiceSupport ? true, spice-gtk ? null
}: }:
@ -58,11 +58,16 @@ python3.pkgs.buildPythonApplication rec {
makeWrapperArgs+=("''${gappsWrapperArgs[@]}") makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
''; '';
checkInputs = with python3.pkgs; [ cpio cdrtools pytestCheckHook ]; checkInputs = with python3.pkgs; [
pytestCheckHook
cpio
cdrtools
xorriso
];
disabledTestPaths = [ disabledTests = [
"tests/test_misc.py" "testCLI0001virt_install_many_devices"
"tests/test_xmlparse.py" "test_disk_dir_searchable"
]; ];
preCheck = '' preCheck = ''