"""Test Helpers.""" import json def parse_json(response): """Parse data from json response object.""" return json.loads(response.data.decode('utf8'))