[Zope-dev] [Checkins] SVN: z3c.pagelet/trunk/src/z3c/pagelet/tests.py Reenable z3c.pt tests, breaking tests again.

Dan Korostelev nadako at gmail.com
Thu Feb 26 12:13:25 EST 2009


Can someone who is familiar with z3c.pt check this out, please? It
looks like the z3c.pt.expressions.ContentProviderTraverser somehow
receives wrong context/request/view objects.

Also, the ContentProviderTraverser should fire the BeforeUpdateEvent
before updating the content provider. And what about ITALNamespaceData
support? The contentprovider support won't be full without these
things.

2009/2/26 Dan Korostelev <nadako at gmail.com>:
> Log message for revision 97320:
>  Reenable z3c.pt tests, breaking tests again.
>
> Changed:
>  U   z3c.pagelet/trunk/src/z3c/pagelet/tests.py
>
> -=-
> Modified: z3c.pagelet/trunk/src/z3c/pagelet/tests.py
> ===================================================================
> --- z3c.pagelet/trunk/src/z3c/pagelet/tests.py  2009-02-26 16:54:30 UTC (rev 97319)
> +++ z3c.pagelet/trunk/src/z3c/pagelet/tests.py  2009-02-26 17:02:59 UTC (rev 97320)
> @@ -94,9 +94,7 @@
>             ),
>         DocFileSuite('zcml.txt', setUp=setUp, tearDown=tearDown,
>             optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS,),
> -        ) for setUp in (setUpZPT, ))
> -        #) for setUp in (setUpZPT, setUpZ3CPT, ))
> -        # XXX: z3c.pt's "provider" expression is currently broken
> +        ) for setUp in (setUpZPT, setUpZ3CPT, ))
>
>     return unittest.TestSuite(itertools.chain(*tests))



-- 
WBR, Dan Korostelev


More information about the Zope-Dev mailing list