[Zope3-Users] Re: Writing tests for views

2006-09-23 Thread Philipp von Weitershausen
George Lee wrote: I am trying to write a test for a view, and making sure that an object I've created is associated with the correct view. But either of these lines fails with a ComponentLookupError Couldn't find view: view = getView(self.event1, 'daterange_display', self.request) view =

Re: [Zope3-Users] Re: Writing tests for views

2006-09-23 Thread Darryl Cousins
On Sun, 2006-09-24 at 01:37 +0200, Philipp von Weitershausen wrote: George Lee wrote: I am trying to write a test for a view, and making sure that an object I've created is associated with the correct view. But either of these lines fails with a ComponentLookupError Couldn't find view: