fix typo: dupe.testcase not dupe.testcases

Summary: This broke result reporting if any dupes were present.

Test Plan: Try reporting some results with dupes.

Reviewers: jskladan, garretraziel

Reviewed By: garretraziel

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D477
This commit is contained in:
Adam Williamson 2015-07-26 23:49:29 -07:00
parent 803573edbc
commit 2229e8d3e9

View File

@ -85,7 +85,7 @@ def report_results(job_ids, client, verbose=False, report=True):
tmpl = "already reported result for test %s, env %s! Will not report dupe." tmpl = "already reported result for test %s, env %s! Will not report dupe."
if verbose: if verbose:
print tmpl % (dupe.testcase, dupe.env) print tmpl % (dupe.testcase, dupe.env)
logger.info(tmpl, dupe.testcases, dupe.env) logger.info(tmpl, dupe.testcase, dupe.env)
else: else:
if verbose: if verbose: