Skip to content
Myr

restore the logging plugin only if it was active to begin with

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Camilo · committed by Camilo · parent e30c39f · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • tests:+2 added−1 removed

1 file+2 added−1 removed

modified:tests/test_logging.py+2 added-1 removed
27 unmodified lines
2829 logger.handlers = []30 logger.setLevel(logging.NOTSET)3132 if logging_plugin:32 pytest.config.pluginmanager.register(logging_plugin, 'logging-plugin')33 pytest.config.pluginmanager.register(logging_plugin, 'logging-plugin')343536def test_logger(app):37 assert app.logger.name == 'flask.app'
61 unmodified lines