diff options
Diffstat (limited to 'dovetail/report.py')
-rw-r--r-- | dovetail/report.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dovetail/report.py b/dovetail/report.py index d4be67c6..f2210cb7 100644 --- a/dovetail/report.py +++ b/dovetail/report.py @@ -287,9 +287,9 @@ class FunctestCrawler(object): return json_results def crawl_from_url(self, testcase=None): - url = \ - dt_cfg.dovetail_config[self.type]['result']['db_url'] % \ - testcase.validate_testcase() + url = "%s/results?case=%s&last=1" % \ + (dt_cfg.dovetail_config['report_dest'], + testcase.validate_testcase()) self.logger.debug("Query to rest api: %s", url) try: data = json.load(urllib2.urlopen(url)) |