From 91c0035bd1e85550d9377b89fbb9b58cc2c01374 Mon Sep 17 00:00:00 2001 From: Mohit Yadav Date: Fri, 12 Apr 2024 16:47:09 +0200 Subject: [PATCH] fix a bug in a test case --- tests/test_CoreJsonSchemaValidator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_CoreJsonSchemaValidator.py b/tests/test_CoreJsonSchemaValidator.py index aefae2e..5c49af4 100644 --- a/tests/test_CoreJsonSchemaValidator.py +++ b/tests/test_CoreJsonSchemaValidator.py @@ -36,7 +36,7 @@ def test_complex_data_validator_with_jsonschema_references(complex_schema_with_d """ schema, registry = complex_schema_with_defs complex_data_validator = CoreJsonSchemaValidator(schema=schema, extended_schema_dir=None) - complex_data_validator.registr = registry + complex_data_validator.configure_registry(registry) valid_data = [] for instance in complex_data: is_valid, _ = complex_data_validator.validate(instance=instance)