Skip to content

Commit d94f66e

Browse files
edit
1 parent fa9dfe8 commit d94f66e

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/tests/backend/common/logger/app_logger_test.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
# test_app_logger.py
2-
3-
import logging
41
import json
2+
import logging
53
import pytest
64
from unittest.mock import patch, MagicMock
75

8-
from src.backend.common.logger.app_logger import AppLogger, LogLevel # replace 'your_module_name' with the correct one
6+
from src.backend.common.logger.app_logger import AppLogger, LogLevel
97

108

119
@pytest.fixture
@@ -113,4 +111,4 @@ def test_set_min_log_level(mock_get_logger):
113111

114112
AppLogger.set_min_log_level(LogLevel.ERROR)
115113

116-
mock_logger.setLevel.assert_called_with(LogLevel.ERROR)
114+
mock_logger.setLevel.assert_called_with(LogLevel.ERROR)

0 commit comments

Comments
 (0)