diff --git a/tests/hostcfgd/hostcfgd_test.py b/tests/hostcfgd/hostcfgd_test.py index caa17f33..bddeab57 100644 --- a/tests/hostcfgd/hostcfgd_test.py +++ b/tests/hostcfgd/hostcfgd_test.py @@ -325,7 +325,7 @@ def test_mgmtiface_event(self): ] mocked_check_output.assert_has_calls(expected) - @patch('path.to.ConfigDBConnector', autospec=True) + @patch('hostcfgd.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