Skip to content

Commit

Permalink
pretest
Browse files Browse the repository at this point in the history
  • Loading branch information
wen587 committed Jun 17, 2024
1 parent e9c2997 commit 8eb27f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,8 @@ def read_json_file_side_effect(filename):
assert result.exit_code == 0
assert "config override-config-table /etc/sonic/golden_config_db.json" in result.output

@mock.patch('sonic_py_common.device_info.get_paths_to_platform_and_hwsku_dirs', mock.MagicMock(return_value=("dummy_path", None)))
@mock.patch('sonic_py_common.device_info.get_paths_to_platform_and_hwsku_dirs',
mock.MagicMock(return_value=("dummy_path", None)))
def test_load_minigraph_hard_dependency_check(self, get_cmd_module):
def is_file_side_effect(filename):
return True if 'golden_config' in filename else False
Expand Down

0 comments on commit 8eb27f5

Please sign in to comment.