Skip to content

Commit

Permalink
Merge pull request #971 from white-gecko/feature/removeColonFromTestR…
Browse files Browse the repository at this point in the history
…eports

Remove colons from test result files. Fix #901.
  • Loading branch information
nicholascar authored Mar 15, 2020
2 parents fcb9733 + 90fab97 commit 4acba11
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_dawg.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ def test_dawg():
now, i, success, f_sum, e_sum, skip, 100. * success / i)
)

earl_report = 'test_reports/rdflib_sparql-%s.ttl' % now
earl_report = 'test_reports/rdflib_sparql-%s.ttl' % now.replace(":", "")

report.serialize(earl_report, format='n3')
report.serialize('test_reports/rdflib_sparql-latest.ttl', format='n3')
Expand Down
2 changes: 1 addition & 1 deletion test/testutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def nose_tst_earl_report(generator, earl_report_name=None):
print("Ran %d tests, %d skipped, %d failed. "%(tests, skip, tests-skip-success))
if earl_report_name:
now = isodate.datetime_isoformat(datetime.datetime.utcnow())
earl_report = 'test_reports/%s-%s.ttl' % (earl_report_name, now)
earl_report = 'test_reports/%s-%s.ttl' % (earl_report_name, now.replace(":", ""))

report.serialize(earl_report, format='n3')
report.serialize('test_reports/%s-latest.ttl'%earl_report_name, format='n3')
Expand Down

0 comments on commit 4acba11

Please sign in to comment.