Fix snapshots after merging

This commit is contained in:
grossmj committed 2026-04-11 19:54:49 +08:00
1 parent 0d3fad8c8f
commit 9c988b34d0
4 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ def test_json(project):
# new style snapshot
snapshot = Snapshot(project, name="snapshot_test2")
assert snapshot.__json__() == {
assert snapshot.asdict() == {
"snapshot_id": snapshot._id,
"name": "snapshot_test2",
"project_id": project.id,