Skip to content

Commit

Permalink
Fix typos in test_handler.py (#1953)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb authored and Alex Boten committed Oct 29, 2021
1 parent 03f0ed2 commit 02d8417
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentelemetry-sdk/tests/logs/test_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_handler_default_log_level(self):
logger.debug("Debug message")
self.assertEqual(emitter_mock.emit.call_count, 0)
# Assert emit gets called for warning message
logger.warning("Wanrning message")
logger.warning("Warning message")
self.assertEqual(emitter_mock.emit.call_count, 1)

def test_handler_custom_log_level(self):
Expand All @@ -54,7 +54,7 @@ def test_log_record_no_span_context(self):
emitter_mock = Mock(spec=LogEmitter)
logger = get_logger(log_emitter=emitter_mock)
# Assert emit gets called for warning message
logger.warning("Wanrning message")
logger.warning("Warning message")
args, _ = emitter_mock.emit.call_args_list[0]
log_record = args[0]

Expand Down

0 comments on commit 02d8417

Please sign in to comment.