mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Import tuf.log in test_init and fix logger name. Issue #303.
In PR #307, tuf.log is no longer imported by __init__.py. Add an import statement for tuf.log to fix missing handler warning in 'test_init.py. The logger name specified is also incorrect.
This commit is contained in:
parent
4d8c1de911
commit
cb687b4c2f
1 changed files with 2 additions and 1 deletions
|
|
@ -29,8 +29,9 @@
|
|||
import logging
|
||||
|
||||
import tuf
|
||||
import tuf.log
|
||||
|
||||
logger = logging.getLogger('tuf.test_keys')
|
||||
logger = logging.getLogger('tuf.test_init')
|
||||
|
||||
class TestInit(unittest.TestCase):
|
||||
def setUp(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue