Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virt: Make virsh absence non fatal for other tests
This is a solution for issue autotest#563. If one is only testing kvm components, for example, the absence of virsh should not be relevant, but since the module throws an exception on import, and module is imported on env_processing, a ValueError will be thrown and fail completely all the tests. Let's fail things only when actual functionality of the module is called, during the initialization of the BaseVirsh class. CC: Chris Evich <[email protected]> Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
- Loading branch information