Skip to content

Commit 1696304

Browse files
authored
tests(smoke): add proper log format (#15464)
1 parent 34a1917 commit 1696304

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

smoke-test/pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,9 @@ filterwarnings = [
9191
# We should not be unexpectedly seeing API tracing warnings.
9292
"error::datahub.errors.APITracingWarning",
9393
]
94+
# Logging configuration - formats test reports without interfering with CLI tests
95+
log_level = "INFO"
96+
log_format = "%(asctime)s - %(name)s - %(funcName)s - %(levelname)s - %(message)s"
97+
log_date_format = "%Y-%m-%d %H:%M:%S"
98+
# Note: log_cli is intentionally NOT configured to avoid interfering with
99+
# click.testing.CliRunner output capture in CLI command tests

smoke-test/tests/cypress/test_weights.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,4 +419,4 @@
419419
"filePath": "manage_tagsV2/search_bar_placeholder.js",
420420
"duration": "3.126s"
421421
}
422-
]
422+
]

0 commit comments

Comments
 (0)