fix unicode/str/bytes inconsistencies

This commit is contained in:
Mike Bonnet
2019-02-04 15:17:35 -08:00
committed by mprahl
parent a44e1fe4b0
commit 0f76fd5591
6 changed files with 15 additions and 14 deletions

View File

@@ -277,7 +277,7 @@ class TestUtilsComponentReuse:
with open(modulemd_file_path, "w") as fd:
fd.write(modulemd_yaml)
with open(modulemd_file_path, "r") as fd:
with open(modulemd_file_path, "rb") as fd:
handle = FileStorage(fd)
module_build_service.utils.submit_module_build_from_yaml(username, handle,
stream=stream, skiptests=True)