'Test that the client can authentication with a password.  This
includes changing the password.'

def test_password(self):

    self.authClient.ssh_USERAUTH_FAILURE((NS('password') + '\x00'))
    self.assertEqual(self.authClient.transport.packets[(-1)], (userauth.MSG_USERAUTH_REQUEST, ((((NS('foo') + NS('nancy')) + NS('password')) + '\x00') + NS('foo'))))
    self.authClient.ssh_USERAUTH_PK_OK((NS('') + NS('')))
    self.assertEqual(self.authClient.transport.packets[(-1)], (userauth.MSG_USERAUTH_REQUEST, ((((NS('foo') + NS('nancy')) + NS('password')) + '\xff') + (NS('foo') * 2))))
