Fix test mistake with requests-mock

body= parameters are supposed to be io objects. This is obviously during
the conversion from HTTPretty.

Change-Id: Ia8ec9294e054e2231aa4a5e2633e2b7d5d15066a
Closes-Bug: #1363632