Encode exception message in tests

assertIn is failing on exception messages as apparently they are bytes
in Python3. Let's encode it before the check.

Change-Id: I886a9458e72aa1ffdb2cc6dcf20331f468778032
1 file changed
tree: 70f9727cf212a2597b521b166ae57a37fb9663e5
  1. api/
  2. common/
  3. functional/
  4. scenario/