From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has submitted this change and it was merged.
Change subject: tests: python3: avoid decoding errors
......................................................................
tests: python3: avoid decoding errors
We have one test which wants to feed libvirt with incorrect xml.
To make it work properly under python3, we need to read the data
as bytes (not as strings) and decode it to string when needed.
No intended changes in behaviour.
Change-Id: I5283854daf63ded0354d434e6e7d777a633664e3
Signed-off-by: Francesco Romani <fromani(a)redhat.com>
---
M tests/vmfakecon.py
1 file changed, 12 insertions(+), 6 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Dan Kenigsberg: Verified; Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/78044
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5283854daf63ded0354d434e6e7d777a633664e3
Gerrit-PatchSet: 12
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Polednik <mpolednik(a)redhat.com>
Gerrit-Reviewer: Petr Horáček <phoracek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>