[cmf-tests] FAILED (failures=4) : CMF-trunk Zope-trunk Python-2.4.4
: Linux
CMF Unit Tests
cmf-tests at epy.co.at
Tue Dec 19 21:49:17 EST 2006
CMF Unit Tests : FAILED (failures=4)
CMF-trunk Zope-trunk Python-2.4.4 : Linux
Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q --config-file etc/zope.conf --path Products --test-path Products
Parsing /home/stefan/autotest/temp/python24-zope211-cmf21/etc/zope.conf
Running unit tests:
Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFDefault/formlib/widgets.txt
Failed doctest test for widgets.txt
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFDefault/formlib/widgets.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFDefault/formlib/widgets.txt", line 56, in widgets.txt
Failed example:
print widget.hidden()
Expected:
<input class="hiddenType" id="PREFIX.NAME" name="PREFIX.NAME"
type="hidden" value="FOO BAR" />
Got:
<input class="hiddenType" id="PREFIX.NAME" name="PREFIX.NAME" type="hidden" value="FOO BAR" />
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFDefault/formlib/widgets.txt", line 118, in widgets.txt
Failed example:
print widget()
Expected:
<div>
<select id="PREFIX.NAME.1" multiple="multiple" name="PREFIX.NAME.1:list"
size="3" ><option selected="selected" value="SPAM">SPAM</option>
<option selected="selected" value="EGGS">EGGS</option></select>
<input name="PREFIX.NAME.1-empty-marker" type="hidden" value="1" />
</div>
<textarea cols="60" id="PREFIX.NAME" name="PREFIX.NAME"
rows="2" >FOO BAR</textarea>
Got:
<div>
<div class="value">
<select id="PREFIX.NAME.1" multiple="multiple" name="PREFIX.NAME.1:list" size="3" ><option selected="selected" value="SPAM">SPAM</option>
<option selected="selected" value="EGGS">EGGS</option></select>
</div>
<input name="PREFIX.NAME.1-empty-marker" type="hidden" value="1" />
</div>
<textarea cols="60" id="PREFIX.NAME" name="PREFIX.NAME" rows="2" >FOO
BAR</textarea>
Ran 808 tests with 1 failures and 0 errors in 7.771 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 1.435 seconds.
Ran 52 tests with 0 failures and 0 errors in 0.436 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
Set up Products.CMFCalendar.testing.FunctionalLayer in 0.816 seconds.
Failure in test test_firstDayRendering (CMFCalendar.tests.test_Calendar.CalendarRequestTests)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/profiler.py", line 100, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCalendar/tests/test_Calendar.py", line 570, in test_firstDayRendering
self.assertEqual([events[e] for e in range(1, 8)], data)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [{'eventslist': [], 'day': 1, 'event': 0}, {'eventslist': [], 'day': 2, 'event': 0}, {'eventslist': [], 'day': 3, 'event': 0}, {'eventslist': [], 'day': 4, 'event': 0}, {'eventslist': [], 'day': 5, 'event': 0}, {'eventslist': [], 'day': 6, 'event': 0}, {'eventslist': [], 'day': 7, 'event': 0}] != [{'eventslist': [{'start': '00:00:00', 'end': '00:10:00', 'title': 'today'}], 'day': 1, 'event': 1}, {'eventslist': [], 'day': 2, 'event': 0}, {'eventslist': [], 'day': 3, 'event': 0}, {'eventslist': [], 'day': 4, 'event': 0}, {'eventslist': [], 'day': 5, 'event': 0}, {'eventslist': [], 'day': 6, 'event': 0}, {'eventslist': [], 'day': 7, 'event': 0}]
Failure in test test_getBeginAndEndTimes (CMFCalendar.tests.test_Calendar.CalendarRequestTests)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/profiler.py", line 100, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCalendar/tests/test_Calendar.py", line 406, in test_getBeginAndEndTimes
( DateTime('2001/12/1 12:00:00AM'),
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: (DateTime('2001/12/01'), DateTime('2001/12/01 23:59:59 GMT+0')) != (DateTime('2001/12/01'), DateTime('2001/12/01 23:59:59 GMT+1'))
Failure in test test_lastDayRendering (CMFCalendar.tests.test_Calendar.CalendarRequestTests)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/profiler.py", line 100, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCalendar/tests/test_Calendar.py", line 542, in test_lastDayRendering
self.assertEqual([events[e] for e in range(25, 32)], data)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [{'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 25, 'event': 1}, {'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 26, 'event': 1}, {'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 27, 'event': 1}, {'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 28, 'event': 1}, {'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 29, 'event': 1}, {'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 30, 'event': 1}, {'eventslist': [{'start': '23:50:00', 'end': '23:59:59', 'title': 'today'}, {'start': None, 'end': '00:10:00', 'title': 'tomorrow'}], 'day': 31, 'event': 1}] != [{'eventslist': [], 'day': 25, 'event': 0}, {'eventslist': [], 'day': 26, 'event': 0}, {'eventslist': [], 'day': 27, 'event': 0}, {'eventslist': [], 'day': 28, 'event': 0}, {'eventslist': [], 'day': 29, 'event': 0}, {'eventslist': [], 'day': 30, 'event': 0}, !
{'eventslist': [{'start': '23:50:00', 'end': '23:59:59', 'title': 'today'}], 'day': 31, 'event': 1}]
Ran 21 tests with 3 failures and 0 errors in 3.838 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.067 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
Set up Products.CMFCore.testing.EventZCMLLayer in 0.073 seconds.
Ran 45 tests with 0 failures and 0 errors in 0.370 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
Tear down Products.CMFCore.testing.EventZCMLLayer in 0.001 seconds.
Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.138 seconds.
Ran 97 tests with 0 failures and 0 errors in 1.427 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.001 seconds.
Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.079 seconds.
Ran 49 tests with 0 failures and 0 errors in 0.279 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.001 seconds.
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.728 seconds.
Set up Products.CMFDefault.testing.FunctionalLayer in 0.521 seconds.
Ran 45 tests with 0 failures and 0 errors in 6.128 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
Tear down Products.CMFDefault.testing.FunctionalLayer in 0.063 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 1.612 seconds.
Ran 35 tests with 0 failures and 0 errors in 2.010 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.003 seconds.
Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.136 seconds.
Ran 198 tests with 0 failures and 0 errors in 1.862 seconds.
Tearing down left over layers:
Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
Total: 1350 tests, 4 failures, 0 errors
FAILED (failures=4)
More information about the cmf-tests
mailing list