def test_handle_cms_response_ok():
    response = core.tests.helpers.create_response(status_code=200, json_payload={'field': 'value'})
    assert (helpers.handle_cms_response(response) == {'field': 'value'})
def test_handle_cms_response_ok():
    response = core.tests.helpers.create_response(status_code=200, json_payload={'field': 'value'})
    assert (helpers.handle_cms_response(response) == {'field': 'value'})