'Test Akismet payload with a RevisionIP without data.
This is a possible payload from an April 2016 revision.'

def test_revision_ip_no_data(self):

    RevisionIP.objects.create(revision=self.revision, ip='127.0.0.1', user_agent='Agent', referrer='Referrer')
    request = self.rf.get('/en-US/dashboard/revisions')
    params = AkismetHistoricalData(self.revision, request).parameters
    expected = self.base_akismet_payload.copy()
    expected.update({'blog': 'http://testserver/', 'permalink': 'http://testserver/en-US/docs/SampleSlug', 'referrer': 'Referrer', 'user_agent': 'Agent', 'user_ip': '127.0.0.1'})
    assert (params == expected)
