[Checkins] SVN: zc.datetimewidget/trunk/src/zc/datetimewidget/ added demo package an a functional test which uses it

Bernd Dorn bernd.dorn at fhv.at
Mon May 1 09:59:32 EDT 2006


On 01.05.2006, at 14:52, Gary Poster wrote:

>
> On May 1, 2006, at 3:24 AM, Bernd Dorn wrote:
>
>>
>> On 01.05.2006, at 04:25, Gary Poster wrote:
>>
>>>
>>> On Apr 30, 2006, at 10:07 AM, Bernd Dorn wrote:
>>>
>>>> Log message for revision 67764:
>>>>   added demo package an a functional test which uses it
>>>>   do not return the tzinfo in the display field, because it is  
>>>> not used anyway
>>>>   added a timezone test
>>>
>>> Hey Bernd.  Thanks for this code.
>>>
>>> Unfortunately, the functional tests you checked in fail.
>>>
>>> File "/home/gary/z4i/instance/lib/python/zc/datetimewidget/demo/ 
>>> README.txt", line 16, in README.txt
>>> Failed example:
>>>     link = browser.getLink('Datetimewidget Demo')
>>> Exception raised:
>>>     Traceback (most recent call last):
>>>       File "/home/gary/z4i/var/src/zope3/src/zope/testing/ 
>>> doctest.py", line 1256, in __run
>>>         compileflags, 1) in test.globs
>>>       File "<doctest README.txt[4]>", line 1, in ?
>>>         link = browser.getLink('Datetimewidget Demo')
>>>       File "/home/gary/z4i/var/src/zope3/src/zope/testbrowser/ 
>>> browser.py", line 286, in getLink
>>>         return Link(self.mech_browser.find_link(**args), self)
>>>       File "/home/gary/z4i/var/src/zope3/src/mechanize/ 
>>> _mechanize.py", line 557, in find_link
>>>         return self._find_links(True, **kwds)
>>>       File "/home/gary/z4i/var/src/zope3/src/mechanize/ 
>>> _mechanize.py", line 627, in _find_links
>>>         raise LinkNotFoundError()
>>>     LinkNotFoundError
>>>
>>> After that, all the rest of the tests fail, of course.  Could you  
>>> fix this up?
>>>
>>
>> have you placed zc.datetimewidget-ftesting.zcml into your etc/ 
>> package-includes
>> the demo only gets configured if ftesting.zcml is loaded
>
> Ah, ok.  For automated testing, that's not really sufficient,  
> though.  It sounds like you need a separate layer.  Do you know how  
> to set these up?  If not, I can probably make the time today to set  
> this up.  What would you like?

i would be great if you can make this, i've never done this before

>
> Gary
> _______________________________________________
> Checkins mailing list
> Checkins at zope.org
> http://mail.zope.org/mailman/listinfo/checkins



More information about the Checkins mailing list