forked from openlp/openlp
Fixed tests?
This commit is contained in:
parent
a866bc5499
commit
f6e3f03fca
@ -83,7 +83,7 @@ class SongImportTestHelper(TestCase):
|
|||||||
|
|
||||||
:param openlp.core.common.path.Path file_path: The path of the file to load
|
: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):
|
def file_import(self, source_file_name, result_data):
|
||||||
"""
|
"""
|
||||||
|
@ -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
|
: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())
|
||||||
|
Loading…
Reference in New Issue
Block a user