Skip to content

Commit

Permalink
resoving errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kanza-latif committed Sep 26, 2024
1 parent c9fde05 commit 8ff1832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/hostcfgd/hostcfgd_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def test_mgmtiface_event(self):
]
mocked_check_output.assert_has_calls(expected)

@patch('sonic_py_common.ConfigDBConnector')
@patch('sonic_py_common.ConfigDBConnector', autospec=True)
def test_memory_statistics_event(self, mock_config_db_connector):
# Mock the ConfigDBConnector instance methods
mock_instance = mock_config_db_connector.return_value
Expand Down

0 comments on commit 8ff1832

Please sign in to comment.