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

def test_compare_revisions_invalid_to_int(self):

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