'L{keys.Key.toString} serializes a ECDSA key in OpenSSH format.'

def test_toOpenSSHECDSA(self):

    key = keys.Key.fromString(keydata.privateECDSA_openssh)
    self.assertEqual(key.public().toString('openssh', 'comment'), keydata.publicECDSA_openssh)
    self.assertEqual(key.public().toString('openssh'), keydata.publicECDSA_openssh[:(-8)])
