food
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user