Skip to content

Commit 934e6f4

Browse files
committed
made doctests capable
1 parent 290e24c commit 934e6f4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

bug_triage.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ def classify_severity(content: str) -> str:
3434
def classify_priority(severity: str) -> str:
3535
"""
3636
Maps the technical severity level to a business priority level.
37+
>>> classify_priority("S1")
38+
'P1'
39+
>>> classify_priority("S4")
40+
'P4'
3741
"""
3842
priority_map = {
3943
"S1": "P1",

0 commit comments

Comments
 (0)