Squash Odysseus development history

This commit is contained in:
pewdiepie-archdaemon
2026-09-11 06:04:19 +00:00
parent e5c99a5eee
commit 6ee6502010
2050 changed files with 538359 additions and 57745 deletions
+14
View File
@@ -0,0 +1,14 @@
import pytest
from tests.helpers.cli_loader import load_script
def test_load_rejects_non_object_preset_store(tmp_path, capsys):
cli = load_script("odysseus-preset")
cli._PATH = tmp_path / "presets.json"
cli._PATH.write_text("[]")
with pytest.raises(SystemExit):
cli._load()
assert "expected an object" in capsys.readouterr().err