Skip to content

Commit 6852e82

Browse files
committed
Small format changes
1 parent ba032b2 commit 6852e82

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/testrail_scripts/set_coverage_none_for_untriaged_suitable_unsuitable_disabled_automation.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
AUTOMATION_STATUS = {
2323
"UNTRIAGED": 1,
2424
"SUITABLE": 2,
25-
"UNSUITABLE": 3,
25+
"NOT_SUITABLE": 3,
2626
"COMPLETED": 4,
2727
"DISABLED": 5,
2828
}
@@ -109,10 +109,10 @@ def update_coverage_to_none(tr, project_id, dry_run=True, batch_size=25):
109109

110110
# Check if status is one that should have None coverage
111111
if status in [
112-
AUTOMATION_STATUS["UNTRIAGED"], # Not decided yet
113-
AUTOMATION_STATUS["SUITABLE"], # Approved for automation
114-
AUTOMATION_STATUS["UNSUITABLE"], # Won't be automated
115-
AUTOMATION_STATUS["DISABLED"], # Not active
112+
AUTOMATION_STATUS["UNTRIAGED"],
113+
AUTOMATION_STATUS["SUITABLE"],
114+
AUTOMATION_STATUS["NOT_SUITABLE"],
115+
AUTOMATION_STATUS["DISABLED"],
116116
]:
117117
# If coverage is not None, add to update targets
118118
if coverage != AUTOMATION_COVERAGE["NONE"]:

0 commit comments

Comments
 (0)