Marius Gedminas wrote:
>> What adapter might that be and what's the "right" way to get it
>> registered in a unit test?
>
> DefaultTraversable, I think, and
>
> from zope.app.testing import setup
> setup.setUpTraversal()
>
> Various other features need various other components,
On Fri, Aug 27, 2010 at 12:47:11AM +0100, Chris Withers wrote:
> When trying to test a template in a unit test, I get the following
> exception:
...
> LocationError: ('No traversable adapter found', {'content': ,
> 'args': ()})
...
> Now, the same template works just fine when used "for real", so