Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

conftest is updated [formatting]#281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletionstests/conftest.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,6 +20,10 @@

C_ROOT_DIR__RELATIVE = ".."

# /////////////////////////////////////////////////////////////////////////////

T_TUPLE__str_int = typing.Tuple[str, int]

# /////////////////////////////////////////////////////////////////////////////
# T_PLUGGY_RESULT

Expand All@@ -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()

Expand DownExpand Up@@ -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
):
Expand DownExpand Up@@ -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
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp