Set utf-8 in decode and encode calls 37/67937/1
authorCédric Ollivier <ollivier.cedric@gmail.com>
Sat, 25 May 2019 07:55:02 +0000 (09:55 +0200)
committerCédric Ollivier <ollivier.cedric@gmail.com>
Sat, 25 May 2019 07:56:02 +0000 (09:56 +0200)
commitee33658a4b4ce3c556f4a0be986c080fcfe4cb93
tree13d64a739c4572974c154c2ee09ada32c1044b9c
parentf11bf388d5fddd6744b7c674610dfce2ff83b8e5
Set utf-8 in decode and encode calls

It eases backporting in iruya and hunter as a few logs can't be
decoded as ascii [1].

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-iruya-juju_epc-run/56/console

Change-Id: I09c793469bdf4a679e6ed5a268e705efa5f2a20f
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
(cherry picked from commit 12aa6e34ec1f388a40cb5a00826729f7c0d6f201)
xtesting/core/feature.py
xtesting/core/unit.py