mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-12 03:46:38 +08:00
Remove comment.
This commit is contained in:
parent
2c8a13f4b9
commit
b0a75f3f06
@ -49,7 +49,8 @@ def test_load_extra_model_paths_expands_userpath(
|
||||
monkeypatch.setattr(os.path, 'expanduser', mock_expanduser)
|
||||
monkeypatch.setattr(yaml, 'safe_load', mock_yaml_safe_load)
|
||||
|
||||
load_extra_path_config('dummy_path.yaml')
|
||||
dummy_yaml_file_name = 'dummy_path.yaml'
|
||||
load_extra_path_config(dummy_yaml_file_name)
|
||||
|
||||
expected_calls = [
|
||||
('model1', os.path.join(mock_expanded_home, 'App', 'subfolder1')),
|
||||
@ -65,4 +66,4 @@ def test_load_extra_model_paths_expands_userpath(
|
||||
mock_yaml_safe_load.assert_called_once()
|
||||
|
||||
# Check if open was called with the correct file path
|
||||
mock_file.assert_called_once_with('dummy_path.yaml', 'r')
|
||||
mock_file.assert_called_once_with(dummy_yaml_file_name, 'r')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user