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

Roger Ineichen r.ineichen at projekt01.ch
Fri May 28 09:41:03 EDT 2004


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




More information about the Zope3-dev mailing list