mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-09 17:37:05 +08:00
Fix test assertion.
This commit is contained in:
parent
08597ca9a1
commit
755ee08a77
@ -114,7 +114,7 @@ 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_yaml_file_name, 'r')
|
mock_file.assert_called_once_with(dummy_yaml_file_name, 'r', encoding='utf-8')
|
||||||
|
|
||||||
|
|
||||||
@patch('builtins.open', new_callable=mock_open)
|
@patch('builtins.open', new_callable=mock_open)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user