Skip to content

Commit

Permalink
Fix ut issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox committed Aug 27, 2024
1 parent 61c0853 commit 6bf8838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sonic-py-common/tests/test_syslogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ def test_runtime_config_negative(self, mock_connector):
mock_db = mock.MagicMock()
mock_db.get = mock.MagicMock(side_effect=Exception(''))
mock_connector.return_value = mock_db
syslogger.SysLogger(log_identifier='log', enable_runtime_config=True)
log = syslogger.SysLogger(log_identifier='log', enable_runtime_config=True)

ret, msg = syslogger.SysLogger.update_log_level()
ret, msg = log.update_log_level()
assert not ret
assert msg

0 comments on commit 6bf8838

Please sign in to comment.