migration system
This commit is contained in:
@@ -24,3 +24,11 @@ def test_save_load_roundtrip(tmp_path):
|
||||
"personality": "judges you silently",
|
||||
}
|
||||
assert loaded.version == 1
|
||||
|
||||
|
||||
def test_list_saves(tmp_path):
|
||||
open(tmp_path / "test.kitten", "w").close()
|
||||
open(tmp_path / "test2.kitten", "w").close()
|
||||
saves = persistence.list_saves(tmp_path)
|
||||
assert "test" in saves
|
||||
assert "test2" in saves
|
||||
|
||||
Reference in New Issue
Block a user