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:

[EMAIL PROTECTED]: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).

Any tests that don't rely on Products.membrane.tests.base.MembraneProfilesLayer run OK, any that do rely on it bail out in the same way.

I've tried every version of Plone from 2.5.2 to 2.5.5, and every version of PloneTestCase from 0.9.2 to 0.9.4 just in case, but to no avail.

I am stumped. I'm assuming that I'm simply invoking the tests incorrectly, but I'm darned if I know how I should be doing it, and I can't find any guidance.

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.

Cheers

Andy
--
Isotoma, Open Source Software Consulting - http://www.isotoma.com
Tel: 01904 567349, Mobile: 07725 269250, Fax: 020 79006980
Postal Address: Tower House, Fishergate, York, YO10 4UA, UK

Registered in England.  Company No 5171172.  VAT GB843570325.
Registered Office: 19a Goodge Street, London, W1T 2PH


--
Archive: 
http://www.openplans.org/projects/remember/lists/remember/archive/2008/02/1202939236492
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]  
Please contact [EMAIL PROTECTED] for questions.

Reply via email to