'The L{keys.Key.isPublic} method returns True for public keys
otherwise False.'

def test_isPublic(self):

    rsaKey = keys.Key.fromString(keydata.privateRSA_openssh)
    dsaKey = keys.Key.fromString(keydata.privateDSA_openssh)
    ecdsaKey = keys.Key.fromString(keydata.privateECDSA_openssh)
    self.assertTrue(rsaKey.public().isPublic())
    self.assertFalse(rsaKey.isPublic())
    self.assertTrue(dsaKey.public().isPublic())
    self.assertFalse(dsaKey.isPublic())
    self.assertTrue(ecdsaKey.public().isPublic())
    self.assertFalse(ecdsaKey.isPublic())
