Remove unnecessary grep and tr from some tests
Change-Id: I1cd911ee35614f1726dd95abe6a5b1923a8b772c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/robot-systest/lib/openstack_lib.robot b/robot-systest/lib/openstack_lib.robot
index bdf49aa..19dddc9 100644
--- a/robot-systest/lib/openstack_lib.robot
+++ b/robot-systest/lib/openstack_lib.robot
@@ -196,7 +196,7 @@
[Arguments] ${flavor_name} ${cpu}=1 ${ram}=1024 ${disk}=10
Should Not Be Empty ${flavor_name}
- ${rc} ${flavor_id}= Run and Return RC and Output openstack flavor create ${flavor_name} --ram ${ram} --disk ${disk} --vcpus ${cpu} -f yaml | yq '.id' | tr -d \\"
+ ${rc} ${flavor_id}= Run and Return RC and Output openstack flavor create ${flavor_name} --ram ${ram} --disk ${disk} --vcpus ${cpu} -f yaml | yq -r '.id'
Log ${flavor_id}
Should Be Equal As Integers ${rc} ${success_return_code}
[Return] ${flavor_id}