From df1724a8b59bbebb31845e97018eaea9f4adcaa3 Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Thu, 16 Jun 2016 14:45:44 +0200 Subject: Align test names in BD and testcase.yaml declaration JIRA: FUNCTEST-304 Change-Id: I642101d88716ac634e07b66136cfdcac0c482500 Signed-off-by: Morgan Richomme --- reporting/functest/reportingUtils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'reporting/functest/reportingUtils.py') diff --git a/reporting/functest/reportingUtils.py b/reporting/functest/reportingUtils.py index 7170b83..0db570f 100644 --- a/reporting/functest/reportingUtils.py +++ b/reporting/functest/reportingUtils.py @@ -19,7 +19,7 @@ def getApiResults(case, installer, scenario, version): # urllib2.install_opener(opener) # url = "http://127.0.0.1:8000/results?case=" + case + \ # "&period=30&installer=" + installer - url = ("http://testresults.opnfv.org/test/api/v1/results?case=" + case + + url = (reportingConf.URL_BASE + "?case=" + case + "&period=" + str(reportingConf.PERIOD) + "&installer=" + installer + "&scenario=" + scenario + "&version=" + version) request = Request(url) @@ -38,7 +38,7 @@ def getScenarios(case, installer, version): case = case.getName() print case - url = ("http://testresults.opnfv.org/test/api/v1/results?case=" + case + + url = (reportingConf.URL_BASE + "?case=" + case + "&period=" + str(reportingConf.PERIOD) + "&installer=" + installer + "&version=" + version) request = Request(url) -- cgit 1.2.3-korg