'A keypair written by ``RootCredential.initialize`` can be
successfully reloaded in to an identical ``RootCredential``
instance.'

def test_written_keypair_reloads(self):

    path = FilePath(self.mktemp())
    path.makedirs()
    ca1 = RootCredential.initialize(path, 'mycluster')
    ca2 = RootCredential.from_path(path)
    self.assertEqual(ca1, ca2)
