Skip to content

Commit

Permalink
Merge pull request autotest#5660 from xiaodwan/v2v_fix_ovirt_module_i…
Browse files Browse the repository at this point in the history
…mport_issue

v2v: fix ovirt module import issue
  • Loading branch information
xiaodwan authored Jun 3, 2024
2 parents 5f9bfe8 + fcedf0f commit adcb9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2v/tests/src/function_test_esx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import uuid
import shutil
import tempfile
import ovirtsdk4
import xml.etree.ElementTree as ET

from virttest import data_dir
Expand Down Expand Up @@ -750,6 +749,7 @@ def vm_check(status_error):
os.environ['http_proxy'] = http_proxy
os.environ['https_proxy'] = https_proxy
if 'ovirtsdk4_pkg' in checkpoint:
import ovirtsdk4
ovirt4_path = os.path.dirname(ovirtsdk4.__file__)
dst_ovirt4_path = ovirt4_path + '.bak'
os.rename(ovirt4_path, dst_ovirt4_path)
Expand Down

0 comments on commit adcb9fc

Please sign in to comment.