'If a ``cluster_id`` is passed to ``RootCredential.initialize``, it is
used as the value for the generated certificate\'s *organizational unit*
field.'

def test_overridden_cluster_id(self):

    path = FilePath(self.mktemp())
    path.makedirs()
    cluster_id = UUID('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa')
    RootCredential.initialize(path, 'overridecluster', cluster_id=cluster_id)
    ca = RootCredential.from_path(path)
    self.assertEqual(cluster_id, UUID(ca.organizational_unit))
