Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Apr 25, 2022
1 parent 73b06a5 commit 754875a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/schemacode/schemacode/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def make_entity_definitions(schema):
return text


def make_glossary(schema, relpath):
def make_glossary(schema, relpath=None):
"""Generate glossary.
Parameters
Expand Down
2 changes: 1 addition & 1 deletion tools/schemacode/schemacode/tests/test_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_make_glossary(schema_obj, schema_dir):
rule_files.append(rule_base)
rules_only = list(filter(lambda a: a not in object_files, rule_files))

glossary = render.make_glossary(schema_obj)
glossary = render.make_glossary(schema_obj, relpath=None)
for line in glossary.split("\n"):
if line.startswith('<a name="objects.'):
# Are all objects objects?
Expand Down

0 comments on commit 754875a

Please sign in to comment.