Skip to content
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
Next Next commit
[BUG FIX] Incomplete asserts are fixed
  • Loading branch information
dmitry-lipetsk committed Jun 7, 2025
commit 428f5718849f40498fd775028e3203b20207242d
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ def CalcRootLogDir() -> str:
# --------------------------------------------------------------------
def CalcCurrentTestWorkerSignature() -> str:
currentPID = os.getpid()
assert type(currentPID)
assert type(currentPID) == int # noqa: E721

startTS = __class__.sm_StartTS
assert type(startTS)
assert type(startTS) == datetime.datetime # noqa: E721

result = "pytest-{0:04d}{1:02d}{2:02d}_{3:02d}{4:02d}{5:02d}".format(
startTS.year,
Expand Down