From: Jose Perez Carranza <jose.perez.carra...@linux.intel.com>

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

Signed-off-by: Jose Perez Carranza <jose.perez.carra...@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

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to