New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove debug mode for pytest config #27157
Conversation
/test connector=connectors/source-file
Build PassedTest summary info:
|
Can we also force the log level of the |
Done. |
/test connector=connectors/source-file
Build PassedTest summary info:
|
What:
This pull request suggests removing the debug mode from the
pyproject.toml
configuration file for tests. Developers can manually adjust the log level when they need to debug a test.How:
pyproject.toml
configuration file for tests.ERROR
Justification:
When working with source files, we utilize the
open()
method from the smart open library to open files - here. However, this method also logs local variables before opening the file - here and here. Simultaneously, we employ thepyproject.toml
configuration file with the debug log level enabled to execute ourunit/coverage/integration tests
- here. As a result, all the arguments passed to theopen()
method will be displayed in the output.Related Issues:
Fixes #27128
Checklist:
pyproject.toml
for tests