Change in ovirt-engine-sdk[master]: Encode/decode test data using UTF-8

Ondra Machacek has submitted this change and it was merged. Change subject: Encode/decode test data using UTF-8 ...................................................................... Encode/decode test data using UTF-8 Currently the data sent and received by the tests isn't converted from strings to arrays of bytes. As a result the tests don't work with Python 3 because the HTTP server used by the tests requires bytes, not strings. This patch changes the tests so that they explicitly encode/decode the data. Change-Id: If7aad9db77ad12ebcd1d995060f4fddf820bcdfb Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M sdk/tests/server.py M sdk/tests/test_reader.py 2 files changed, 7 insertions(+), 5 deletions(-) Approvals: Ondra Machacek: Looks good to me, approved Juan Hernandez: Verified Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/62931 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: If7aad9db77ad12ebcd1d995060f4fddf820bcdfb Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
omachace@redhat.com