diff --git a/tests/client_guest_shutdown.py b/tests/client_guest_shutdown.py index f3723710b0795a5744a159ed40627d59373423be..7f643e4d12e5e7ec1b5ad43969f0050363193e2e 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 0bc371e623c4e038049d93bb10f8503b6f4d855b..4b4d03cf7546c11437b2661051b6620353a8fa95 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 a68e724cd49fd3480b0a54f4b82f1022d3872269..a689a67eb590d4c1b1522f3604ef472069571e0b 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)