[Zope-dev] zope.testing: Define __add__ for RENormalizing

Christian Zagrodnick cz at gocept.com
Thu Jun 18 04:00:01 EDT 2009


Hi,

I suggest defining __add__ for zope.testing.renormalizing.RENormalizing 
which would return a new Checker with the transformers combined.

This allow better reuse of those checkers without having to define the 
patterns separately. Like

checker = checker_a + checker_b.

Comments?


-- 
Christian Zagrodnick · cz at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development




More information about the Zope-Dev mailing list