Skip to content

Commit

Permalink
fixup! Migrate from RefResolver to referencing library
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhoyer committed Aug 27, 2024
1 parent 28e5bdb commit 689d45e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fmf/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -936,8 +936,7 @@ def validate_data(data, schema, schema_store=None):
"""
schema_store = schema_store or {}
try:
registry = Registry().with_resource(schema_store, DRAFT4.create_resource()
)
registry = Registry().with_resource(schema_store, DRAFT4.create_resource(schema))
except AttributeError as error:
raise JsonSchemaError(f'Provided schema cannot be loaded: {error}')

Expand Down

0 comments on commit 689d45e

Please sign in to comment.