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 :
[test]
recipe = zc.recipe.testrunner
eggs =
${instance:eggs}
defaults = ['--exit-with-status', '--auto-color', '--auto-progress']
working-directory = ${buildout:directory}
Thanks in advance
--
Gilles Lenfant
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers