Mass indentation fix in the virt-tests tree

Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 9759694f
......@@ -17,7 +17,7 @@ def run_client_guest_shutdown(test, params, env):
@param params: Dictionary with the test parameters
@param env: Dictionary with test environment
"""
client_vm = env.get_vm(params["client_vm"])
client_vm = env.get_vm(params["client_vm"])
client_vm.verify_alive()
guest_vm = env.get_vm(params["guest_vm"])
guest_vm.verify_alive()
......
......@@ -70,7 +70,7 @@ def launch_rv(client_vm, guest_vm, params):
#If qemu_ticket is set, set the password of the VM using the qemu-monitor
if qemu_ticket:
guest_vm.monitor.cmd("set_password spice %s" % qemu_ticket)
logging.info("Sending to qemu monitor: set_password spice %s"
logging.info("Sending to qemu monitor: set_password spice %s"
% qemu_ticket)
client_session = client_vm.wait_for_login(
......@@ -159,7 +159,7 @@ def launch_rv(client_vm, guest_vm, params):
if test_type == "negative":
logging.info("remote-viewer connection failed as expected")
else:
raise error.TestFail("remote-viewer connection failed")
raise error.TestFail("remote-viewer connection failed")
#prevent from kill remote-viewer after test finish
cmd = "disown -ar"
......
......@@ -29,7 +29,7 @@ def deploy_epel_repo(guest_session, params):
if "i686" in arch:
arch = "i386"
else:
arch = arch[:-1]
arch = arch[:-1]
if "release 5" in guest_session.cmd("cat /etc/redhat-release"):
cmd = ("yum -y localinstall http://download.fedoraproject.org/"
"pub/epel/5/%s/epel-release-5-4.noarch.rpm 2>&1" % arch)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册