[Grok-dev] How does one unittest a view?

Martin Aspeli optilude+lists at gmail.com
Wed Apr 8 11:02:34 EDT 2009


Wichert Akkerman wrote:

> That groks the whole sample package, right? 

You can use grok_component() to grok only a single component. However, 
you still need to have loaded the grokcore.view testing support.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book



More information about the Grok-dev mailing list