Skip to content

Commit

Permalink
Add model_dump in place of dict in test...
Browse files Browse the repository at this point in the history
  • Loading branch information
peytondmurray committed Nov 22, 2024
1 parent 1c321a4 commit cc2f0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda-store-server/tests/_internal/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ def test_parse_lockfile_obj(test_lockfile):
"lockfile": test_lockfile.copy(),
}
specification = schema.LockfileSpecification.parse_obj(lockfile_spec)
assert specification.dict()["lockfile"] == test_lockfile
assert specification.model_dump()["lockfile"] == test_lockfile

0 comments on commit cc2f0a8

Please sign in to comment.