'Test Akismet payload is the data from the RevisionIP.
This payload is from a revision after April 2016.'

def test_revision_ip_with_data(self):

    RevisionIP.objects.create(revision=self.revision, ip='127.0.0.1', user_agent='Agent', referrer='Referrer', data='{"content":    "spammy"}')
    request = self.rf.get('/en-US/dashboard/revisions')
    params = AkismetHistoricalData(self.revision, request).parameters
    assert (params == {'content': 'spammy'})
