'If there\'s no public key, auth_publickey should return a Deferred
called back with a False value.'

def test_no_publickey(self):

    self.authClient.getPublicKey = (lambda x: None)
    d = self.authClient.tryAuth('publickey')
    def check(result):
        self.assertFalse(result)
    return d.addCallback(check)
