Fix tests.

This commit is contained in:
Robin Huang 2025-02-19 15:40:21 -08:00
parent a0930eda6d
commit 51da0256f6

View File

@ -145,7 +145,7 @@ def test_load_extra_model_paths_expands_appdata(
else: else:
expected_base_path = '/Users/TestUser/AppData/Roaming/ComfyUI' expected_base_path = '/Users/TestUser/AppData/Roaming/ComfyUI'
expected_calls = [ expected_calls = [
('checkpoints', os.path.join(expected_base_path, 'models/checkpoints'), False), ('checkpoints', os.path.normpath(os.path.join(expected_base_path, 'models/checkpoints')), False),
] ]
assert mock_add_model_folder_path.call_count == len(expected_calls) assert mock_add_model_folder_path.call_count == len(expected_calls)