tests(config): fix typo

This commit is contained in:
psychedelicious 2024-04-23 17:52:51 +10:00
parent 984dd93798
commit ab9ebef345

View File

@ -162,7 +162,7 @@ def test_bails_on_invalid_config(tmp_path: Path, patch_rootdir: None):
with pytest.raises(AssertionError):
load_and_migrate_config(temp_config_file)
@pytest.mark.parametrize("config_content", [invalid_v5_config, invalid_v1_config])
@pytest.mark.parametrize("config_content", [invalid_v5_config, invalid_v4_0_1_config])
def test_bails_on_config_with_unsupported_version(tmp_path: Path, patch_rootdir: None, config_content: str):
"""Test reading configuration from a file."""
temp_config_file = tmp_path / "temp_invokeai.yaml"