Re: Reporting a bug in Membrane
from
Rob Miller
on Feb 13, 2008 05:40 PM
Andy Theyers wrote:
> Rob Miller wrote:
>> i looked at the issue in the tracker, btw, and the assessment and the
>> patch look good.
>
> Excellent stuff - good to know.
>
>> one thing i'd appreciate, however, is if you could write a unit test
>> which demonstrates the problem... i.e. one that fails before you apply
>> your patch, but which passes when the patch has been applied.
>
> I've spent the last hour or two trying to get the membrane test suite to
> run, and can't. This is likely my own lack of understanding - could
> someone give me some pointers?
>
> At the moment I have a Plone 2.5.5 site (Zope 2.9.7). If I run:
>
> andy@coriander:test_membrane$ ./bin/zopectl test -m Products.membrane
>
> It bails out on me with "TypeError: Must provide IPossibleSite" while
> running SiteLayer.setUp() (where SiteLayer is
> PloneTestCase.layer.PloneSite).
hmm... it's working for me. do you get any different results w/ '-s', i.e.:
# ./bin/zopectl test -sProducts.membrane
?
-r
>> also, do you have svn commit access to the collective? i'm happy to
>> give it to you, in which case you can commit the code yourself, once
>> the test has been written.
>
> I don't, no. I would gladly get involved if I could get the tests up
> and running.
do you have a plone.org username? if not, create one and i'll turn on
collective access.
-r