Drop `tractor.log` level override fixture

agg_feedz
Tyler Goodlet 2022-11-07 15:40:41 -05:00
parent 051a8729b6
commit 1bf1965a8b
1 changed files with 0 additions and 9 deletions

View File

@ -14,15 +14,6 @@ def pytest_addoption(parser):
help="Use a practice API account")
@pytest.fixture(scope='session', autouse=True)
def loglevel(request):
orig = tractor.log._default_loglevel
level = tractor.log._default_loglevel = request.config.option.loglevel
log.get_console_log(level)
yield level
tractor.log._default_loglevel = orig
@pytest.fixture(scope='session')
def test_config():
dirname = os.path.dirname