Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Amstutz committed May 5, 2016
1 parent 2d0398e commit f43fa45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_self_validate(self):
"schema_salad/metaschema/metaschema.yml"])

def test_jsonld_ctx(self):
ldr, _, _ = schema_salad.schema.load_schema({
ldr, _, _, _ = schema_salad.schema.load_schema({
"$base": "Y",
"name": "X",
"$namespaces": {
Expand Down Expand Up @@ -111,7 +111,7 @@ def test_idmap(self):
def test_examples(self):
self.maxDiff = None
for a in ["field_name", "ident_res", "link_res", "vocab_res"]:
ldr, _, _ = schema_salad.schema.load_schema(
ldr, _, _, _ = schema_salad.schema.load_schema(
"schema_salad/metaschema/%s_schema.yml" % a)
with open("schema_salad/metaschema/%s_src.yml" % a) as src_fp:
src = ldr.resolve_all(
Expand Down

0 comments on commit f43fa45

Please sign in to comment.