Change in ovirt-engine-sdk[sdk_4.0]: 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> (cherry picked from commit 9281aabfc61a620be5cef5d1691ba2878a586340) --- M sdk/tests/server.py M sdk/tests/test_reader.py 2 files changed, 7 insertions(+), 5 deletions(-) Approvals: Ondra Machacek: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/62963 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: If7aad9db77ad12ebcd1d995060f4fddf820bcdfb Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: sdk_4.0 Gerrit-Owner: Ondra Machacek <omachace@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