Skip to content

conftest.py is updated [refactoring] #226

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
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
Prev Previous commit
conftest is formatted [black]
  • Loading branch information
dmitry-lipetsk committed Mar 28, 2025
commit d85eed296888c696cd34653aae949de03a2353cb
9 changes: 6 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def incrementAchtungTestCount(testID: str) -> None:
__class__.AchtungTests.append(testID) # raise?
__class__.cAchtungTests += 1


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


Expand Down Expand Up @@ -485,10 +486,11 @@ def LOCAL__print_test_list(header: str, test_count: int, test_list: list[str]):
helper__print_test_list(test_list)
logging.info("")

# fmt: off
LOCAL__print_test_list(
"ACHTUNG TESTS",
TEST_PROCESS_STATS.cAchtungTests,
TEST_PROCESS_STATS.AchtungTests
TEST_PROCESS_STATS.AchtungTests,
)

LOCAL__print_test_list(
Expand All @@ -500,14 +502,15 @@ def LOCAL__print_test_list(header: str, test_count: int, test_list: list[str]):
LOCAL__print_test_list(
"XFAILED TESTS",
TEST_PROCESS_STATS.cXFailedTests,
TEST_PROCESS_STATS.XFailedTests
TEST_PROCESS_STATS.XFailedTests,
)

LOCAL__print_test_list(
"NOT XFAILED TESTS",
TEST_PROCESS_STATS.cNotXFailedTests,
TEST_PROCESS_STATS.NotXFailedTests
TEST_PROCESS_STATS.NotXFailedTests,
)
# fmt: on

LOCAL__print_line1_with_header("SUMMARY STATISTICS")
logging.info("")
Expand Down