'#21627 -- Executing the changepassword management command should allow
non-ASCII characters from the User object representation.'

def test_that_changepassword_command_works_with_nonascii_output(self):

    models.User.objects.create_user(username=u'J\xfalia', password=u'qwerty')
    command = changepassword.Command()
    command._get_pass = (lambda *args: u'not    qwerty')
    command.execute(u'J\xfalia', stdout=self.stdout)
