This commit is contained in:
2026-06-24 19:39:09 -04:00
parent 43539a3255
commit e4ad34faa1
5 changed files with 47 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
from untitled import model, persistence
from untitled import content, model, persistence
def test_save_load_roundtrip(tmp_path):
original = model.Save(
version=1,
version=content.SAVE_VERSION,
cat=model.Cat(
"Fry",
{
@@ -23,7 +23,7 @@ def test_save_load_roundtrip(tmp_path):
"eyes": "blue",
"personality": "judges you silently",
}
assert loaded.version == 1
assert loaded.version == content.SAVE_VERSION
def test_list_saves(tmp_path):