diff --git a/tests/builtin_tranformations/aggregate/conftest.py b/tests/builtin_tranformations/aggregate/conftest.py index 1bcfd0c1..cc4999c5 100644 --- a/tests/builtin_tranformations/aggregate/conftest.py +++ b/tests/builtin_tranformations/aggregate/conftest.py @@ -54,7 +54,7 @@ def data_complete_1_resolved_public() -> Json: @fixture def config() -> AggregateConfig: """A working config""" - return AggregateConfig.parse_obj( + return AggregateConfig.model_validate( load_yaml(Path("transformations/aggregate/default/config.yaml")) ) @@ -62,6 +62,6 @@ def config() -> AggregateConfig: @fixture def invalid_config() -> AggregateConfig: """An invalid config with conflicting output paths.""" - return AggregateConfig.parse_obj( + return AggregateConfig.model_validate( load_yaml(Path("transformations/aggregate/config_invalid.yaml")) )