11 lines
202 B
Python
11 lines
202 B
Python
from enum import Enum
|
|
|
|
class TestStatus(str, Enum):
|
|
ERROR = "error"
|
|
FAILED = "failed"
|
|
PASSED = "passed"
|
|
SKIPPED = "skipped"
|
|
|
|
def __str__(self) -> str:
|
|
return str(self.value)
|