mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tests(config): fix typo
This commit is contained in:
parent
984dd93798
commit
ab9ebef345
@ -162,7 +162,7 @@ def test_bails_on_invalid_config(tmp_path: Path, patch_rootdir: None):
|
|||||||
with pytest.raises(AssertionError):
|
with pytest.raises(AssertionError):
|
||||||
load_and_migrate_config(temp_config_file)
|
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):
|
def test_bails_on_config_with_unsupported_version(tmp_path: Path, patch_rootdir: None, config_content: str):
|
||||||
"""Test reading configuration from a file."""
|
"""Test reading configuration from a file."""
|
||||||
temp_config_file = tmp_path / "temp_invokeai.yaml"
|
temp_config_file = tmp_path / "temp_invokeai.yaml"
|
||||||
|
Loading…
Reference in New Issue
Block a user