'Provide invalid \'from\' int for revision ids.'

def test_compare_revisions_invalid_from_int(self):

    url = reverse('wiki.compare_revisions', args=[self.document.slug])
    query = {'from': 'invalid', 'to': ''}
    url = urlparams(url, **query)
    response = self.client.get(url)
    eq_(404, response.status_code)
