Skip to content

Commit

Permalink
errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kanza-latif committed Sep 26, 2024
1 parent 94c797b commit 248e672
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/hostcfgd/hostcfgd_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import swsscommon as swsscommon_package
from sonic_py_common import device_info
from swsscommon import swsscommon

from parameterized import parameterized
from sonic_py_common.general import load_module_from_source
from unittest import TestCase, mock
Expand Down Expand Up @@ -325,7 +324,7 @@ def test_mgmtiface_event(self):
]
mocked_check_output.assert_has_calls(expected)

@patch('hostcfgd.ConfigDBConnector', autospec=True)
@patch('hostcfgd.ConfigDBConnector')
def test_memory_statistics_event(self, mock_config_db_connector):
print("Available keys in HOSTCFG_DAEMON_CFG_DB:", HOSTCFG_DAEMON_CFG_DB.keys())
# Mock the ConfigDBConnector instance methods
Expand Down

0 comments on commit 248e672

Please sign in to comment.