39
39
g_warning_msg_count_key = pytest .StashKey [int ]()
40
40
g_critical_msg_count_key = pytest .StashKey [int ]()
41
41
42
-
43
42
# /////////////////////////////////////////////////////////////////////////////
44
43
# T_TEST_PROCESS_KIND
45
44
45
+
46
46
class T_TEST_PROCESS_KIND (enum .Enum ):
47
47
Master = 1
48
48
Worker = 2
@@ -51,6 +51,7 @@ class T_TEST_PROCESS_KIND(enum.Enum):
51
51
# /////////////////////////////////////////////////////////////////////////////
52
52
# T_TEST_PROCESS_MODE
53
53
54
+
54
55
class T_TEST_PROCESS_MODE (enum .Enum ):
55
56
Collect = 1
56
57
ExecTests = 2
@@ -63,17 +64,18 @@ class T_TEST_PROCESS_MODE(enum.Enum):
63
64
64
65
g_worker_log_is_created :typing .Optional [bool ]= None
65
66
66
-
67
67
# /////////////////////////////////////////////////////////////////////////////
68
68
# TestConfigPropNames
69
69
70
+
70
71
class TestConfigPropNames :
71
72
TEST_CFG__LOG_DIR = "TEST_CFG__LOG_DIR"
72
73
73
74
74
75
# /////////////////////////////////////////////////////////////////////////////
75
76
# TestStartupData__Helper
76
77
78
+
77
79
class TestStartupData__Helper :
78
80
sm_StartTS = datetime .datetime .now ()
79
81
@@ -376,6 +378,7 @@ def helper__build_test_id(item: pytest.Function) -> str:
376
378
377
379
# /////////////////////////////////////////////////////////////////////////////
378
380
381
+
379
382
def helper__makereport__setup (
380
383
item :pytest .Function ,call :pytest .CallInfo ,outcome :T_PLUGGY_RESULT
381
384
):
@@ -1108,4 +1111,5 @@ def pytest_configure(config: pytest.Config) -> None:
1108
1111
1109
1112
return
1110
1113
1114
+
1111
1115
# /////////////////////////////////////////////////////////////////////////////