Skip to content

Commit dfd1edf

Browse files
copy error fix
1 parent 37df4d8 commit dfd1edf

File tree

2 files changed

+706
-469
lines changed

2 files changed

+706
-469
lines changed

modules/testrail.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,13 @@ def update_test_cases(
390390
):
391391
"""Given a project id, a run id, and a suite id, for each case given a status,
392392
update the test objects with the correct status code"""
393-
status_key = {"passed": 1, "skipped": 3, "xfailed": 4, "failed": 5}
393+
status_key = {
394+
"passed": 1,
395+
"skipped": 3,
396+
"blocked": 2,
397+
"xfailed": 4,
398+
"failed": 5,
399+
}
394400
if not test_case_ids:
395401
test_case_ids = [
396402
test_case.get("id")

0 commit comments

Comments
 (0)