'L{keys.Key.toString} serializes a DSA key in Agent v3 format.'

def test_toAgentv3DSA(self):

    key = keys.Key.fromString(keydata.privateDSA_openssh)
    self.assertEqual(key.toString('agentv3'), keydata.privateDSA_agentv3)
