Merge "Reduce logging verbosity in fixture manager."

This commit is contained in:
Zuul 2019-03-12 16:36:24 +00:00 committed by Gerrit Code Review
commit bd43b42595

View File

@ -46,14 +46,14 @@ def remove_fixture(obj, manager=None):
def setup_fixture(obj, manager=None): def setup_fixture(obj, manager=None):
fixture = get_fixture(obj, manager=manager) fixture = get_fixture(obj, manager=manager)
LOG.info('Set up fixture %r', fixture.__tobiko_fixture_name__) LOG.debug('Set up fixture %r', fixture.__tobiko_fixture_name__)
fixture.setUp() fixture.setUp()
return fixture return fixture
def cleanup_fixture(obj, manager=None): def cleanup_fixture(obj, manager=None):
fixture = get_fixture(obj, manager=manager) fixture = get_fixture(obj, manager=manager)
LOG.info('Clean up fixture %r', fixture.__tobiko_fixture_name__) LOG.debug('Clean up fixture %r', fixture.__tobiko_fixture_name__)
fixture.cleanUp() fixture.cleanUp()
return fixture return fixture