[yocto] [qa-tools][PATCH 1/4] external/testopia: Modify commands to get Product and Environment

jose.perez.carranza at linux.intel.com jose.perez.carranza at linux.intel.com
Tue Jun 13 08:47:25 PDT 2017


From: Jose Perez Carranza <jose.perez.carranza at linux.intel.com>

Modify commands to get Product and Environment name providing
the ID.

Signed-off-by: Jose Perez Carranza <jose.perez.carranza at linux.intel.com>
---
 external/testopia.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/external/testopia.py b/external/testopia.py
index f2f2d45..a82b32e 100755
--- a/external/testopia.py
+++ b/external/testopia.py
@@ -627,7 +627,7 @@ class Testopia(object):
 
         Result: The product name for the respective id or empty string if an error occurs.
         """
-        return self.do_command("Product.lookup_name_by_id", [self._number_noop(id)])
+        return self.do_command("TestopiaProduct.get", [self._number_noop(id)])
 
 
     def product_get_milestones(self, product_id):
@@ -1629,7 +1629,7 @@ class Testopia(object):
 
         Result: The TestRun environment name for the respective id or empty string if an error occurs.
         """
-        return self.do_command("TestRun.lookup_environment_name_by_id", [self._number_noop(id)])
+        return self.do_command("Environment.get", [self._number_noop(id)])
 
 
     ############################## TestCaseRun ##################################
-- 
2.11.0




More information about the yocto mailing list