Drop `tractor.log` level override fixture

pre_multi_feedz
Tyler Goodlet 2022-11-07 15:40:41 -05:00
parent e7751cb5dd
commit 9fc45c2bff
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") 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') @pytest.fixture(scope='session')
def test_config(): def test_config():
dirname = os.path.dirname dirname = os.path.dirname