AW: [Zope3-dev] I have another 1. April joke if I run tests

Roger ineichen dev at projekt01.ch
Fri May 28 09:58:26 EDT 2004


Sorry false alarm

I was setting a wrong PYTHONPATH which was pointing
to the wrong installation.

It's possible to start a test on a installation
and the test is running on a another installation
because of a wrong PYTHONPATH.

Is this OK or can we add a check for this
and alert chaotic users like me?

Regards 
Roger

_____________________________
END OF MESSAGE 

> -----Ursprüngliche Nachricht-----
> Von: zope3-dev-bounces+dev=projekt01.ch at zope.org 
> [mailto:zope3-dev-bounces+dev=projekt01.ch at zope.org] Im 
> Auftrag von Roger Ineichen
> Gesendet: Freitag, 28. Mai 2004 15:41
> An: zope3-dev at zope.org
> Betreff: [Zope3-dev] I have another 1. April joke if I run tests
> 
> 
> What's happen ???
> 
> It looks like the 1. April Joke (Akquisition) from Martijn 
> Faassen. Zope is crowling my root and use the first one for 
> running the tests.
> 
> This happens on windows XP.
> 
> I have different Zope3 checkouts in a folder.
> If I print a comment in a test I can see that
> the tests start at a Zope3 root called 
> "C:\projektCompiler\writeaccess" and then switch to 
> "C:\projektCompiler\current"
> and runs the tests there.
> 
> See traceback:
> ----
> C:\projektCompiler\writeaccess>python test.py -s zope -puv 
> zope.app.form ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Configuration 
> file found. Running UNIT tests at level 1 Running UNIT tests 
> from C:\projektCompiler\writeaccess
>    7/265 (  2.6%): test_hooks 
> (zope.app.form.browser.tests.test_add.Test)
> just a comment
> just a comment
> just a comment
> just a comment
> just a comment
> just a comment
> just a comment
> just a comment
>    8/265 (  3.0%): test_applyChanges 
> (...rowser.tests.test_browserwidget.Test)just a comment
>    9/265 (  3.4%): test_getFormValue 
> (...rowser.tests.test_browserwidget.Test)just a comment
>   11/265 (  4.2%): test_getInputValue 
> (...owser.tests.test_browserwidget.Test)just a comment just a 
> comment just a comment
>   13/265 (  4.9%): test_hasValidInput 
> (...owser.tests.test_browserwidget.Test)just a comment just a 
> comment just a comment
>   15/265 (  5.7%): SimpleInputWidget (zope.app.form.browser.widget)
> 
> Failure in test SimpleInputWidget 
> (zope.app.form.browser.widget) Traceback (most recent call last):
>   File 
> "C:\projektCompiler\current\src\zope\testing\doctestunit.py", 
> line 72, in runTest ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     raise self.failureException(
> AssertionError: Failed doctest test for 
> zope.app.form.browser.widget.SimpleInputWidget
>   File 
> "C:\projektCompiler\current\src\zope\app\form\browser\widget.py",
> line 238 (or above), in SimpleInputWidget
> ----
> 
> 
> 
> Regards
> Roger Ineichen
> _____________________________
> END OF MESSAGE
> 
> 
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub: 
> http://mail.zope.org/mailman/options/zope3-> dev/dev%40projekt01.ch
> 
> 




More information about the Zope3-dev mailing list