[Zope-Coders] sys futzing
Chris Withers
chrisw@nipltd.com
Sun, 18 Nov 2001 14:57:24 +0000
Tres Seaver wrote:
>
> Note the condition: 'sys.path' only gets munged if that
> module is run as a script, e.g.::
OK...
> For "regression tests", like the multithread tests ChrisM
> put in a separate module yesterday, assuming that the test
> will be run directly from the command line is fine.
:-)
> at that point. In such a case, the appropriate fix is to
> do imports from fully-qualified package/module names.
Does testrunner play nicely with INSTANCE_HOME yet? And is it now the 'standard'
way for unit tests to be run?
> BTW, what module was that in? I don't see that usage in any
> of ChrisM's recent checkins.
from the original CVS message:
=== Added File
Zope/lib/python/Products/TemporaryFolder/tests/testTemporaryStorage.py ===
cheers,
Chris