'A certificate\'s public key matches the public key it is
meant to be paired with.'

def test_certificate_matches_public_key(self):

    path = FilePath(self.mktemp())
    path.makedirs()
    ca = RootCredential.initialize(path, 'mycluster')
    self.assertTrue(ca.credential.keypair.keypair.matches(ca.credential.certificate.getPublicKey()))
