[Product-Developers] plone.app.testing and AttributeError: 'NoneType' object has no attribute '_p_jar'
derek
auspex at pointerstop.ca
Tue May 17 13:21:21 UTC 2011
On May 17, 4:34 am, Martin Aspeli <optilude+li... at gmail.com> wrote:
> Hi,
>
> On 17 May 2011 05:29, Noe Nieto <nni... at noenieto.com> wrote:
> > I'm doing some doctests wih plone.app.testing and finally reached an error
> > that I don't quite understand:
...
> > AttributeError: 'NoneType' object has no attribute '_p_jar'
>
> I assume you're using zope.testbrowser - can you show the code that
> creates the Browser object?
>
> I wonder if you're using Products.Five's version; you need to use
> zope.testing.z2's version - see plone.app.testing/plone.testing docs.
Thanks, Martin - I've been trying to figure that one out myself.
More information about the Product-Developers
mailing list