Skip to content

Commit e7a3556

Browse files
[BUG FIX] Incomplete asserts are fixed (#261)
TestStartupData__Helper::CalcCurrentTestWorkerSignature is updated It is a debug level mistake.
1 parent ec0b8e9 commit e7a3556

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ def CalcRootLogDir() -> str:
6464
# --------------------------------------------------------------------
6565
def CalcCurrentTestWorkerSignature() -> str:
6666
currentPID = os.getpid()
67-
assert type(currentPID)
67+
assert type(currentPID) == int # noqa: E721
6868

6969
startTS = __class__.sm_StartTS
70-
assert type(startTS)
70+
assert type(startTS) == datetime.datetime # noqa: E721
7171

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

0 commit comments

Comments
 (0)
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