Skip to content

Commit

Permalink
Fixes Issue #110. Actually demonstrates already fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascar committed Feb 23, 2021
1 parent 41344f1 commit e3c507b
Show file tree
Hide file tree
Showing 3 changed files with 75,612 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/test_issue_110.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from pylode.common import MakeDocco


def test_issue_110():
output_html_file = "test_issue_110_output.html"
m = MakeDocco(input_data_file="test_issue_110_input.ttl")
m.document(destination=output_html_file)
assert "balance between £1,000 and £1,000,000 GBP" in open(output_html_file).read()


if __name__ == '__main__':
test_issue_110()

# this test works running on BASH command line with with
# `pylode -i test_issue_110_input.ttl -c true -o test_issue_110_output.html`
Loading

0 comments on commit e3c507b

Please sign in to comment.