mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-11 23:45:43 +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(os.path, 'expanduser', mock_expanduser)
|
||||||
monkeypatch.setattr(yaml, 'safe_load', mock_yaml_safe_load)
|
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 = [
|
expected_calls = [
|
||||||
('model1', os.path.join(mock_expanded_home, 'App', 'subfolder1')),
|
('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()
|
mock_yaml_safe_load.assert_called_once()
|
||||||
|
|
||||||
# Check if open was called with the correct file path
|
# 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