vpp/test/test_result_code.py
Klement Sekera 47f3527108 tests: support for expected failures
- Add support for @unittest.expectedFailure decorator.

Type: improvement

Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
Change-Id: I761751cda505e962225dc680b97c1fffa96f5176
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2023-05-20 02:34:14 +00:00

16 lines
282 B
Python

#!/usr/bin/python3
from enum import IntEnum, auto, unique
@unique
class TestResultCode(IntEnum):
PASS = auto()
FAIL = auto()
ERROR = auto()
SKIP = auto()
TEST_RUN = auto()
SKIP_CPU_SHORTAGE = auto()
EXPECTED_FAIL = auto()
UNEXPECTED_PASS = auto()