def test_addRSAIdentityWithComment(self):
        d = self.client.addIdentity(
            self.rsaPrivate.privateBlob(), comment='My special key')
        self.pump.flush()
        def _check(ignored):
            serverKey = self.server.factory.keys[self.rsaPrivate.blob()]
            self.assertEqual(self.rsaPrivate, serverKey[0])
            self.assertEqual('My special key', serverKey[1])
        return d.addCallback(_check)
L{SSHAgentClient.addIdentity} adds the private key it is called
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/test/test_agent.py/TestAgentKeyAddition.test_addRSAIdentityWithComment