From cb687b4c2ff4ff37066cd4b7a193690035cd6498 Mon Sep 17 00:00:00 2001 From: Vladimir Diaz Date: Wed, 20 Jan 2016 10:29:58 -0500 Subject: [PATCH] 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. --- tests/test_init.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_init.py b/tests/test_init.py index 07d45f9e..b4550443 100755 --- a/tests/test_init.py +++ b/tests/test_init.py @@ -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):