'L{keys.Key.toString} serializes an RSA key in Agent v3 format.'

def test_toAgentv3RSA(self):

    key = keys.Key.fromString(keydata.privateRSA_openssh)
    self.assertEqual(key.toString('agentv3'), keydata.privateRSA_agentv3)
