Fix test_caplog_captures_for_all_stages by setting log level

This commit is contained in:
Bruno Oliveira 2018-01-20 12:04:28 -02:00
parent 18e053546c
commit 2e40a8b3ca
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ def test_clear(caplog):
@pytest.fixture
def logging_during_setup_and_teardown(caplog):
caplog.set_level('INFO')
logger.info('a_setup_log')
yield
logger.info('a_teardown_log')