Skip to content

Commit

Permalink
HTML output file test open with utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
softwareengineerprogrammer committed Oct 15, 2024
1 parent fc753ce commit 53bb796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/geophires_x_tests/test_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_html_output_file(self):
)
)
self.assertTrue(html_path.exists())
with html_path.open() as f:
with open(html_path, encoding='UTF-8') as f:
html_content = f.read()
self.assertIn('***CASE REPORT***', html_content)
# TODO expand test to assert more about output HTML
Expand Down

0 comments on commit 53bb796

Please sign in to comment.