Skip to content
Snippets Groups Projects
Commit 94d49ada authored by Brian Carrier's avatar Brian Carrier
Browse files

Added utf-8 encoding to test diff

parent ab2ad235
No related branches found
No related tags found
No related merge requests found
...@@ -873,8 +873,8 @@ def _compare_report_files(gold_path, output_path): ...@@ -873,8 +873,8 @@ def _compare_report_files(gold_path, output_path):
unordered list in the html report files, or (0, 0) if the unordered list in the html report files, or (0, 0) if the
lenghts are the same. lenghts are the same.
""" """
gold_file = open(gold_path) gold_file = open(gold_path, encoding='utf-8')
output_file = open(output_path) output_file = open(output_path, encoding='utf-8')
goldHtml = gold_file.read() goldHtml = gold_file.read()
outputHtml = output_file.read() outputHtml = output_file.read()
goldHtml = goldHtml[goldHtml.find("<ul>"):] goldHtml = goldHtml[goldHtml.find("<ul>"):]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment