Fix test_caplog_captures_for_all_stages by setting log level
This commit is contained in:
parent
18e053546c
commit
2e40a8b3ca
|
@ -101,6 +101,7 @@ def test_clear(caplog):
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def logging_during_setup_and_teardown(caplog):
|
def logging_during_setup_and_teardown(caplog):
|
||||||
|
caplog.set_level('INFO')
|
||||||
logger.info('a_setup_log')
|
logger.info('a_setup_log')
|
||||||
yield
|
yield
|
||||||
logger.info('a_teardown_log')
|
logger.info('a_teardown_log')
|
||||||
|
|
Loading…
Reference in New Issue