'A private DSA key is correctly generated from a private key blob.'

def test_fromPrivateBlobDSA(self):

    dsaBlob = (((((common.NS('ssh-dss') + common.MP(keydata.DSAData['p'])) + common.MP(keydata.DSAData['q'])) + common.MP(keydata.DSAData['g'])) + common.MP(keydata.DSAData['y'])) + common.MP(keydata.DSAData['x']))
    dsaKey = keys.Key._fromString_PRIVATE_BLOB(dsaBlob)
    self.assertFalse(dsaKey.isPublic())
    self.assertEqual(keydata.DSAData, dsaKey.data())
