testrail-python icon indicating copy to clipboard operation
testrail-python copied to clipboard

api.run_with_id returns empty result for run which is a part of plan

Open tyzhnenko opened this issue 8 years ago • 0 comments

api.run_with_id - should use get_run call instead of search in the list of runs. Call get_runs returns only separate runs which is not a part of plans.

http://docs.gurock.com/testrail-api2/reference-runs#get_runs

Actual result:

test.run *** TestRailError: Run ID '77' was not found test.api.run_with_id(77) *** TestRailError: Run ID '77' was not found test.api._get('get_run/77')['id'] 77

tyzhnenko avatar Sep 19 '16 10:09 tyzhnenko