Fix for python 3

In Python 3, get_reponse returns a bytes object, not str, so we
have to encode() and decode(), otherwise it fails. This fixed
issues running the tests in Debian.

Change-Id: Ifc18bb48e27cee96864e3a9b64d8a4fd294a912b
1 file changed