'The PyCrypto key instance for a DSA private key has the same components
as the internal key.'

def test_keyObjectGetDSAPrivate(self):

    key = keys.Key.fromString(keydata.privateDSA_openssh)
    result = key.keyObject
    self.assertIsInstance(result, Crypto.PublicKey.DSA._DSAobj)
    self.assertEqual(keydata.DSAData['y'], result.key.y)
    self.assertEqual(keydata.DSAData['g'], result.key.g)
    self.assertEqual(keydata.DSAData['p'], result.key.p)
    self.assertEqual(keydata.DSAData['q'], result.key.q)
    self.assertEqual(keydata.DSAData['x'], result.key.x)
