From 5b2e6af421e088795240d954183dd44526a914ab Mon Sep 17 00:00:00 2001 From: Isaac To Date: Wed, 6 Dec 2023 12:13:42 -0800 Subject: [PATCH] Replace use of `DandiBaseModel.unvalidated` with `BaseModel.model_construct` in tests --- dandischema/tests/test_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dandischema/tests/test_models.py b/dandischema/tests/test_models.py index fb7093a..3977c69 100644 --- a/dandischema/tests/test_models.py +++ b/dandischema/tests/test_models.py @@ -41,11 +41,11 @@ def test_dandiset() -> None: - assert Dandiset.unvalidated() + assert Dandiset.model_construct() def test_asset() -> None: - assert Asset.unvalidated() + assert Asset.model_construct() def test_asset_digest() -> None: