Skip to content

Commit 48fdc35

Browse files
authored
test: add timestamp for captured logging (#293)
Signed-off-by: Morgan Epp <60796713+epmog@users.noreply.github.com>
1 parent d103d5c commit 48fdc35

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
@@ -146,7 +146,9 @@ addopts = [
146146
"--cov-report=xml:build/coverage/coverage.xml",
147147
"--cov-report=term-missing",
148148
"--numprocesses=auto",
149-
"--timeout=30"
149+
"--timeout=30",
150+
"--log-format=%(asctime)s.%(msecs)03d %(levelname)s %(filename)20s:%(lineno)-3s %(message)s",
151+
"--log-date-format=%H:%M:%S"
150152
]
151153
markers = [
152154
"requires_cap_kill: tests that require CAP_KILL Linux capability",

0 commit comments

Comments
 (0)