'Ensure non-ascii characters can be used for the \'next\' arg.'

def test_login_with_nonascii_return_to(self):

    response = self.client.post('/openid/login/', {'openid_identifier': 'http://example.com/identity', 'next': u'/files/\xf1and\xfa.jpg'.encode('utf-8')})
    self.assertContains(response, 'OpenID    transaction    in    progress')
