Fix testrail report
File "tcp_tests/report.py", line 189, in get_failed_results
results = t_client.results(run, result_type)
File "/home/jenkins/venv_testrail_marker/local/lib/python2.7/site-packages/testrail/helper.py", line 26, in wrapper
return dispatcher.dispatch(args[1].__class__)(*args, **kw)
TypeError: _results_for_run() takes exactly 2 arguments (3 given)
Change-Id: Ifa82626a8aa82f74be9f3e911fb9389a085e1c2e
diff --git a/tcp_tests/report.py b/tcp_tests/report.py
index 8a2a58e..1bc35a3 100644
--- a/tcp_tests/report.py
+++ b/tcp_tests/report.py
@@ -186,7 +186,7 @@
test(id,name..)]
"""
LOG.info("Get results for run - {}".format(run.name))
- results = t_client.results(run, result_type)
+ results = t_client.results(run)
results_with_test = []
if result_type == '5':
ret = [(run, r) for r in results