From a74bdffb79ffb2517ace742b5f6f2d6a5aa0ddbc Mon Sep 17 00:00:00 2001 From: Lucas Meneghel Rodrigues Date: Tue, 26 Mar 2013 18:38:11 -0300 Subject: [PATCH] Mass indentation fix in the virt-tests tree Signed-off-by: Lucas Meneghel Rodrigues --- tests/client_guest_shutdown.py | 2 +- tests/rv_connect.py | 4 ++-- tests/rv_input.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/client_guest_shutdown.py b/tests/client_guest_shutdown.py index f3723710..7f643e4d 100644 --- a/tests/client_guest_shutdown.py +++ b/tests/client_guest_shutdown.py @@ -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() diff --git a/tests/rv_connect.py b/tests/rv_connect.py index 0bc371e6..4b4d03cf 100644 --- a/tests/rv_connect.py +++ b/tests/rv_connect.py @@ -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" diff --git a/tests/rv_input.py b/tests/rv_input.py index a68e724c..a689a67e 100644 --- a/tests/rv_input.py +++ b/tests/rv_input.py @@ -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) -- GitLab