Skip to content

Commit

Permalink
Using env var for log name config
Browse files Browse the repository at this point in the history
  • Loading branch information
dmvieira committed Apr 20, 2020
1 parent 0956d40 commit d87d7f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
from pythonjsonlogger import jsonlogger

from asynctest import TestCase
from barterdude.conf import getLogger
from barterdude.conf import getLogger, BARTERDUDE_DEFAULT_LOG_NAME


class TestConf(TestCase):

def setUp(self):
self.log_name = "barterdude"
self.log_name = BARTERDUDE_DEFAULT_LOG_NAME
self.log_level = logging.INFO

async def test_should_get_log_with_default_configs(self):
Expand Down

0 comments on commit d87d7f1

Please sign in to comment.