Skip to content

Commit f528e06

Browse files
committed
update test cases
Signed-off-by: Arham-Nasir <arqamnasir719@gmail.com>
1 parent bfea2ab commit f528e06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/hostcfgd/hostcfgd_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def test_mgmtiface_event(self):
327327
def test_memory_statistics_event(self, mock_config_db_connector):
328328
# Mock the ConfigDBConnector instance methods
329329
mock_instance = mock_config_db_connector.return_value
330-
# Ensure get_table returns the correct nested structure
330+
# Ensure get_table returns the correct nested structur
331331
mock_instance.get_table.return_value = HOSTCFG_DAEMON_CFG_DB['MEMORY_STATISTICS']['memory_statistics']
332332

333333
# Patch subprocess.Popen and check_call
@@ -359,7 +359,7 @@ def test_memory_statistics_event(self, mock_config_db_connector):
359359

360360

361361

362-
# @patch('hostcfgd.ConfigDBConnector')
362+
# @patch('hostcfgd.ConfigDBConnector'
363363
# def test_memory_statistics_event(self, mock_config_db_connector):
364364
# print("Available keys in HOSTCFG_DAEMON_CFG_DB:", HOSTCFG_DAEMON_CFG_DB.keys())
365365
# # Mock the ConfigDBConnector instance methods

0 commit comments

Comments
 (0)