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

Wichert Akkerman wichert at wiggy.net
Wed Apr 8 09:00:40 EDT 2009


How can you unittest a view? Trying to instantiate a view in a testcase
fails when the constructor tries to access self.__view_name__ and
self.module_info. 

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Grok-dev mailing list