Decode received data in byte type to str type 33/39433/1
authorCarlos Goncalves <carlos.goncalves@neclab.eu>
Wed, 16 Aug 2017 13:52:30 +0000 (15:52 +0200)
committerCarlos Goncalves <carlos.goncalves@neclab.eu>
Wed, 16 Aug 2017 13:52:30 +0000 (15:52 +0200)
commit580f7ee5064ab2fe6244fa07d7ef3b785de5d926
tree48d597996eb639dfd11525839366ea3162282dc3
parentd540d3046d2a65ab8c4803c0a03c964558e05f44
Decode received data in byte type to str type

json.loads in Python 3.5 doesn't accept a byte-type values so we need to
decode it. Note that this is specific to Python 3.5; Python 2.7 and 3.6
accept byte-type values.

Change-Id: I490f8e0f02a6ce277f86e75b32d1210bfcca8d49
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
tests/inspector/sample.py