Re: ./bin/test failing with trunk zope.testing

Jonathan Lange <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Sun, Jul 18, 2010 at 5:56 PM, Hanno Schlichting <[email protected]> wrote:
> Hi.
>
> On Sun, Jul 18, 2010 at 5:50 PM, Jonathan Lange <[email protected]> wrote:
>> When running zope.testing's tests on my laptop, I get many failures.
>> I've run the tests plenty of times before and haven't got these
>> failures. Am a bit mystified, so I'd appreciate any help.
>
> Looks like the tests assume to be run under the zope.testing.testrunner:
>
> -    runTest (zope.testing.testrunner.runner.SetUpLayerFailure)
> ?                 --------
> +    runTest (zope.testrunner.runner.SetUpLayerFailure)
>
> but you end up with the one from zope.testrunner. If you pin
> zc.recipe.testrunner to version 1.2.0, that should do the trick for
> now.
>
> Someone should look into making the tests compatible with both
> testrunners or requiring the new zope.testrunner.
>

Thanks.

Actually, it turned out to be something of a pebkac. I was getting
trunk from the old Launchpad branch
(lp:~vcs-imports/zope.testing/trunk) rather than the new Launchpad
branch (lp:zope.testing).

With the new branch, everything works out of the box. Sorry for the noise.

While we're here, if I want to patch the Zope testrunner, should I
submit patches against zope.testing or zope.testrunner?

jml
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.