Set utf-8 in decode and encode calls 38/67938/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:16 +0000 (09:56 +0200)
commit8fe65cba9f9f6038e0a4cc95a626a056969685dc
treeecc8500c6c0c3e4e91962a512e7309b1630f03b2
parent4f7433d65a774f5229e308d350bac392f8475523
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