Skip to content

Commit 060f43a

Browse files
committed
test: add timestamp for captured logging
Signed-off-by: Morgan Epp <60796713+epmog@users.noreply.github.com>
1 parent a2a95ad commit 060f43a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ addopts = [
144144
"--cov-report=xml:build/coverage/coverage.xml",
145145
"--cov-report=term-missing",
146146
"--numprocesses=auto",
147-
"--timeout=30"
147+
"--timeout=30",
148+
"--log-format=%(asctime)s.%(msecs)03d %(levelname)s %(filename)20s:%(lineno)-3s %(message)s",
149+
"--log-date-format=%H:%M:%S"
148150
]
149151
markers = [
150152
"requires_cap_kill: tests that require CAP_KILL Linux capability",

0 commit comments

Comments
 (0)