This seems very fragile. Could you instead do something like
`ok_(reverse('crashstats.query') + '?page=2' in response.content)`