def match(results, expected):
    """Return whether or not the results match the expectation. Excludes the response object."""
    for result in results:
        result.pop('data')
    return results == expected