test-framework: Make BaseLogResult comparable
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
This commit is contained in:
parent
4739cfab27
commit
5226f62cf2
@ -1,13 +1,14 @@
|
|||||||
#
|
#
|
||||||
# Copyright(c) 2019-2021 Intel Corporation
|
# Copyright(c) 2019-2021 Intel Corporation
|
||||||
|
# Copyright(c) 2024 Huawei Technologies
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
#
|
#
|
||||||
|
|
||||||
from enum import Enum
|
from enum import IntEnum
|
||||||
from re import sub
|
from re import sub
|
||||||
|
|
||||||
|
|
||||||
class BaseLogResult(Enum):
|
class BaseLogResult(IntEnum):
|
||||||
DEBUG = 10
|
DEBUG = 10
|
||||||
PASSED = 11
|
PASSED = 11
|
||||||
WORKAROUND = 12
|
WORKAROUND = 12
|
||||||
|
Loading…
Reference in New Issue
Block a user