'Tests common when looking to ensure complete successful responses.'

def _test_success(self, res, data):

    eq_(201, res.status_code, res.content)
    fields = self.default_data.copy()
    del fields['sprout']
    if ('user' in fields):
        eq_(data.pop('user')['display_name'], self.user.display_name)
        del fields['user']
    if ('app' in fields):
        eq_(int(data.pop('app')['id']), self.app.pk)
        del fields['app']
    if ('website' in fields):
        eq_(int(data.pop('website')['id']), self.website.pk)
        del fields['website']
    if ('extension' in fields):
        eq_(int(data.pop('extension')['id']), self.extension.pk)
        del fields['extension']
    for name in fields.keys():
        eq_(fields[name], data[name])
    newest_report = AbuseReport.objects.order_by('-id')[0]
    eq_(newest_report.message, data['text'])
    eq_(newest_report.ip_address, self.headers['REMOTE_ADDR'])
