diff --git a/tests/conftest.py b/tests/conftest.py index a76f2eb..fbbd2d6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -20,6 +20,10 @@ C_ROOT_DIR__RELATIVE = ".." +# ///////////////////////////////////////////////////////////////////////////// + +T_TUPLE__str_int = typing.Tuple[str, int] + # ///////////////////////////////////////////////////////////////////////////// # T_PLUGGY_RESULT @@ -29,21 +33,22 @@ T_PLUGGY_RESULT = pluggy.Result # ///////////////////////////////////////////////////////////////////////////// -# TestConfigPropNames - -class TestConfigPropNames: - TEST_CFG__LOG_DIR = "TEST_CFG__LOG_DIR" +g_error_msg_count_key = pytest.StashKey[int]() +g_warning_msg_count_key = pytest.StashKey[int]() +g_critical_msg_count_key = pytest.StashKey[int]() # ///////////////////////////////////////////////////////////////////////////// +# TestConfigPropNames + +class TestConfigPropNames: + TEST_CFG__LOG_DIR = "TEST_CFG__LOG_DIR" -T_TUPLE__str_int = typing.Tuple[str, int] # ///////////////////////////////////////////////////////////////////////////// # TestStartupData__Helper - class TestStartupData__Helper: sm_StartTS = datetime.datetime.now() @@ -346,13 +351,6 @@ def helper__build_test_id(item: pytest.Function) -> str: # ///////////////////////////////////////////////////////////////////////////// -g_error_msg_count_key = pytest.StashKey[int]() -g_warning_msg_count_key = pytest.StashKey[int]() -g_critical_msg_count_key = pytest.StashKey[int]() - -# ///////////////////////////////////////////////////////////////////////////// - - def helper__makereport__setup( item: pytest.Function, call: pytest.CallInfo, outcome: T_PLUGGY_RESULT ): @@ -875,7 +873,9 @@ def LOCAL__print_line1_with_header(header: str): assert header != "" logging.info(C_LINE1 + " [" + header + "]") - def LOCAL__print_test_list(header: str, test_count: int, test_list: typing.List[str]): + def LOCAL__print_test_list( + header: str, test_count: int, test_list: typing.List[str] + ): assert type(header) == str # noqa: E721 assert type(test_count) == int # noqa: E721 assert type(test_list) == list # noqa: E721 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy