mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-13 05:07:40 +02:00
Merge remote-tracking branch 'origin/eric/dev' into eric/dev
This commit is contained in:
@@ -143,7 +143,7 @@ def test_migration_survives_corrupt_session(tmp_path, monkeypatch):
|
||||
(sess_dir / "good.json").write_text(json.dumps({"id": "good"}))
|
||||
(sess_dir / "bad.json").write_text("{ truncated ,,,")
|
||||
|
||||
dmod._migrate_if_needed() # must not raise despite the corrupt session
|
||||
dmod.migrate_if_needed() # must not raise despite the corrupt session
|
||||
|
||||
dashboards = dmod._load_all()
|
||||
assert len(dashboards) == 1
|
||||
|
||||
Reference in New Issue
Block a user