Gilles Lenfant wrote: > Hi, > > I'm actually checking some of my components with Plone 4. I noticed a strange > thing with INSTANCE_HOME. > > As seen from the ZMI, it's OK : INSTANCE_HOME = > /home/instances/xxx/parts/instance, CLIENT_HOME = > /home/instances/xxx/var/instance > > But when I "pdb" in the unit tests : > (Pdb) import os > (Pdb) os.environ['CLIENT_HOME'] > '/home/instances/xxx/eggs/var' > (Pdb) os.environ['INSTANCE_HOME'] > '/home/instances/xxx/eggs' > > Did I miss something important ? Here's the zope.recipe.testrunner part that > makes the unit tests command : >
These variables are available in the builtin namespace also. May be you can see what (Pdb) p INSTANCE_HOME says Suresh _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
