From cc2f0a8fe7bcb7ed4ddee0ee9194047cf7ce6250 Mon Sep 17 00:00:00 2001 From: pdmurray Date: Fri, 22 Nov 2024 11:15:01 -0800 Subject: [PATCH] Add model_dump in place of `dict` in test... --- conda-store-server/tests/_internal/test_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda-store-server/tests/_internal/test_schema.py b/conda-store-server/tests/_internal/test_schema.py index 54cd91d1a..8bf70a816 100644 --- a/conda-store-server/tests/_internal/test_schema.py +++ b/conda-store-server/tests/_internal/test_schema.py @@ -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