def test_invalid_ref_schemas_are_invalid(name): with pytest.raises(Exception): resolve_all_refs(catalog[name])
def test_resolution_checks_resolver_is_valid(): with pytest.raises(InvalidArgument): resolve_all_refs({}, resolver="not a resolver")
def test_invalid_ref_schemas_are_invalid(name): with pytest.raises(Exception): resolve_all_refs(catalog[name])
def test_resolution_checks_resolver_is_valid(): with pytest.raises(InvalidArgument): resolve_all_refs({}, resolver="not a resolver")