Hi, is it a problem with my setup? When I launch the tests of z3c.formdemo (current trunk), I get: Ran 130 tests with 3 failures and 0 errors in 11.699 seconds. The three failures are very similar: The first one is: Failure in test /tmp/formdemo2/src/z3c/formdemo/message/README.txt Failed doctest test for README.txt File "/tmp/formdemo2/src/z3c/formdemo/message/README.txt", line 0 ---------------------------------------------------------------------- File "/tmp/formdemo2/src/z3c/formdemo/message/README.txt", line 52, in README.txt Failed example: testing.printElement(user, "//h1") Exception raised: Traceback (most recent call last): File "/home/ccomb/buildout-eggs/zope.testing-3.5.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run compileflags, 1) in test.globs File "<doctest README.txt[13]>", line 1, in ? testing.printElement(user, "//h1") File "/tmp/formdemo2/src/z3c/formdemo/testing.py", line 33, in printElement print result[0] IndexError: list index out of range The second one is: Failure in test /tmp/formdemo2/src/z3c/formdemo/questionnaire/README.txt Failed doctest test for README.txt File "/tmp/formdemo2/src/z3c/formdemo/questionnaire/README.txt", line 0 ---------------------------------------------------------------------- File "/tmp/formdemo2/src/z3c/formdemo/questionnaire/README.txt", line 58, in README.txt Failed example: testing.printElement(user, "//table/tbody/tr[1]") Exception raised: Traceback (most recent call last): File "/home/ccomb/buildout-eggs/zope.testing-3.5.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run compileflags, 1) in test.globs File "<doctest README.txt[18]>", line 1, in ? testing.printElement(user, "//table/tbody/tr[1]") File "/tmp/formdemo2/src/z3c/formdemo/testing.py", line 33, in printElement print result[0] IndexError: list index out of range the third one is: Failure in test /tmp/formdemo2/src/z3c/formdemo/sqlmessage/README.txt Failed doctest test for README.txt File "/tmp/formdemo2/src/z3c/formdemo/sqlmessage/README.txt", line 0 ---------------------------------------------------------------------- File "/tmp/formdemo2/src/z3c/formdemo/sqlmessage/README.txt", line 79, in README.txt Failed example: testing.printElement(user, "//table/tbody/tr[1]") Exception raised: Traceback (most recent call last): File "/home/ccomb/buildout-eggs/zope.testing-3.5.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run compileflags, 1) in test.globs File "<doctest README.txt[20]>", line 1, in ? testing.printElement(user, "//table/tbody/tr[1]") File "/tmp/formdemo2/src/z3c/formdemo/testing.py", line 33, in printElement print result[0] IndexError: list index out of range
On Friday 07 December 2007, Christophe Combelles wrote:
is it a problem with my setup? When I launch the tests of z3c.formdemo (current trunk), I get:
Ran 130 tests with 3 failures and 0 errors in 11.699 seconds.
Hi Christophe, I just ran the tests on the trunk and I got all tests passing. I switched the formdemo to the Zope 3.4 KGS, so that we are both using the same set of packages. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training
Stephan Richter a écrit :
On Friday 07 December 2007, Christophe Combelles wrote:
is it a problem with my setup? When I launch the tests of z3c.formdemo (current trunk), I get:
Ran 130 tests with 3 failures and 0 errors in 11.699 seconds.
Hi Christophe,
I just ran the tests on the trunk and I got all tests passing. I switched the formdemo to the Zope 3.4 KGS, so that we are both using the same set of packages.
The test is ok now with the kgs. Christophe
Regards, Stephan
participants (2)
-
Christophe Combelles -
Stephan Richter