Python SDK test TestOperationCommands::test_operation_stderr_output
fails
#577
Labels
SDK
SDK related
TestOperationCommands::test_operation_stderr_output
fails
#577
tests/test_operations.py::TestOperationCommands::test_operation_stderr_output
It fails because
caplog
captures no records at all.I've found two ways to make the test pass:
propagate
forYt
logger here. Having propagation enabled the root logger must start handling records as well asYt
logger. However, logging directly to the root logger here without propagation doesn't help, which is weird since the only logger records will be propagated to is the root one.Yt
logger with the root one, but still it is unclear why the test fails when the root logger is used explicitly.The text was updated successfully, but these errors were encountered: