[gnome-boxes] tests: Remove some more ugly 'u' prefixes
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] tests: Remove some more ugly 'u' prefixes
- Date: Mon, 2 Feb 2015 13:49:45 +0000 (UTC)
commit 41c06b1d99f89e1a4cbd68216942caa9468760ce
Author: Vladimir Benes <vbenes redhat com>
Date: Fri Jan 9 21:04:36 2015 +0000
tests: Remove some more ugly 'u' prefixes
Remove 'u' prefices that should have been done in commit 1393650.
https://bugzilla.gnome.org/show_bug.cgi?id=736288
tests/steps/general.py | 2 +-
tests/steps/snapshot.py | 6 +++---
tests/steps/system-broker.py | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/tests/steps/general.py b/tests/steps/general.py
index 10aec0d..50c859e 100644
--- a/tests/steps/general.py
+++ b/tests/steps/general.py
@@ -192,6 +192,6 @@ def verify_back_button_visibility(context, state, vm_name):
@step('Wait until overview is loaded')
def initial_page_loaded(context):
wait_until(lambda x: x.name != 'New', context.app)
- context.execute_steps(u"""
+ context.execute_steps("""
* Delete all boxes
""")
diff --git a/tests/steps/snapshot.py b/tests/steps/snapshot.py
index d68ebbd..0a6cc9b 100644
--- a/tests/steps/snapshot.py
+++ b/tests/steps/snapshot.py
@@ -41,7 +41,7 @@ def add_snapshot(context, name):
@step('Create snapshot "{snap_name}" from machine "{vm_name}"')
def create_snapshot(context, snap_name, vm_name):
- context.execute_steps(u"""
+ context.execute_steps("""
* Select "%s" box
* Press "Properties"
* Press "Snapshots"
@@ -51,7 +51,7 @@ def create_snapshot(context, snap_name, vm_name):
@step('Delete machines "{vm_name}" snapshot "{snap_name}"')
def delete_snapshot(context, vm_name, snap_name):
- context.execute_steps(u"""
+ context.execute_steps("""
* Select "%s" box
* Press "Properties"
* Press "Snapshots"
@@ -72,7 +72,7 @@ def delete_snapshot(context, vm_name, snap_name):
@step('Revert machine "{vm_name}" to state "{snap_name}"')
def revert_snapshot(context, vm_name, snap_name):
- context.execute_steps(u"""
+ context.execute_steps("""
* Select "%s" box
* Press "Properties"
* Press "Snapshots"
diff --git a/tests/steps/system-broker.py b/tests/steps/system-broker.py
index 54027d1..6ce0dac 100644
--- a/tests/steps/system-broker.py
+++ b/tests/steps/system-broker.py
@@ -5,7 +5,7 @@ from behave import step
@step('Connect to system broker')
def connect_to_filled_system_broker(context):
- context.execute_steps(u"""
+ context.execute_steps("""
* Wait for "virt-install -q -r 128 --name Core-5.3 --nodisks --cdrom /tmp/Core-5.3.iso --os-type
linux --accelerate --connect qemu:///system --wait 0" end
* Wait for "sleep 10" end
* Create new box from url "qemu:///system"
@@ -16,7 +16,7 @@ def connect_to_filled_system_broker(context):
@step('Connect to empty system broker')
def connect_to_empty_system_broker(context):
- context.execute_steps(u"""
+ context.execute_steps("""
* Create new box from url "qemu:///system"
* Wait for "sleep 2" end
* Press "Create"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]