Reduce logging verbosity in fixture manager.

Change-Id: I44bb4775c24802c49b6181eab34507c8f5459b70
This commit is contained in:
Federico Ressi 2019-03-12 15:44:13 +01:00
parent 4ce797012c
commit 7f06f81190

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