Python 3: the request body should be bytes in test_api.py
Python 3: the request body should be bytes in test_api.py

This works with Python 2 and 3.

Change-Id: I567068695163064d163cbab7c63f8f9983cc0c04

citrix-openstack-build/pycadf,varunarya10/pycadf