Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
igrek51 committed Jul 10, 2024
1 parent 34efa2e commit e955f17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/sublog/test_context_logger.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import os

from nuclear.sublog import logger, error_handler
from tests.asserts import MockIO


def test_context_logger():
os.environ['TZ'] = 'Europe/Warsaw'
with MockIO() as mockio:
with logger.contextualize(request_id=0xdeaddead) as logger2:
logger2.debug('got request')
Expand Down

0 comments on commit e955f17

Please sign in to comment.