'POSTing to ban_user_and_cleanup url with non-user revisions.'

@override_config(AKISMET_KEY='dashboard')
@requests_mock.mock()
def test_post_submits_no_revisions_to_akismet_when_wrong_revisions_in_request(self, mock_requests):

    num_revisions = 3
    revisions_created = self.create_revisions(num=num_revisions, document=self.document, creator=self.testuser)
    mock_requests = self.enable_akismet_and_mock_requests(mock_requests)
    data = {'revision-id': [rev.id for rev in revisions_created]}
    resp = self.client.post(self.ban_testuser2_url, data=data)
    eq_(200, resp.status_code)
    testuser2_submissions = RevisionAkismetSubmission.objects.filter(revision__creator=self.testuser2.id)
    eq_(testuser2_submissions.count(), 0)
    eq_(mock_requests.call_count, 0)
