#1163 Fix conversion to bytes in Python3 in tests.
Merged 4 months ago by mprahl. Opened 4 months ago by jkaluza.
jkaluza/fm-orchestrator py3-utf  into  master

@@ -296,7 +296,7 @@ 

          rpm_artifacts = mmd.get_rpm_artifacts()

          rpm_artifacts.add("dhcp-libs-12:4.3.5-5.module_2118aef6.x86_64")

          mmd.set_rpm_artifacts(rpm_artifacts)

-         mmd_data = bytes(mmd.dumps())

+         mmd_data = to_text_type(mmd.dumps()).encode("utf-8")

  

          patched_open.return_value = mock_open(

              read_data=mmd_data).return_value

no initial comment

+1, let's wait on Mr. Jenkins's conclusion

rebased onto 57d5548

4 months ago

Pull-Request has been merged by mprahl

4 months ago