Fixed tests?

This commit is contained in:
Phill Ridout 2017-12-23 23:45:10 +00:00
parent a866bc5499
commit f6e3f03fca
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ class SongImportTestHelper(TestCase):
:param openlp.core.common.path.Path file_path: The path of the file to load
"""
return json.loads(file_path.read_text())
return json.loads(file_path.read_bytes().decode())
def file_import(self, source_file_name, result_data):
"""

View File

@ -49,4 +49,4 @@ def load_external_result_data(file_path):
:param openlp.core.common.path.Path file_path: The path of the file to load
"""
return json.loads(file_path.read_text())
return json.loads(file_path.read_bytes().decode())