mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-12 10:57:58 +08:00
fix unicode/str/bytes inconsistencies
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user