[Zope-CMF] Duplicate test in CMFDefault.browser.test_ursa?

Charlie Clark charlie.clark at clark-consulting.eu
Sat Apr 3 13:56:54 EDT 2010


Am 03.04.2010, 19:47 Uhr, schrieb Tres Seaver <tseaver at palladion.com>:

> Sounds right.  I'm probably the guilty part here (or at least those look
> like my style of testing ;).

At least they're in there! Still working on mine for my new "absolut" skin.

>> Do duplicate method names in tests mean that only one of the tests will
>> run?

> Yes:  Python doesn't treat such cases as errors:  it (silently) replaces
> the originally-bound name with a new binding.

I thought so, but I wanted to be sure. I sometimes run PyLint on my stuff  
which picks up on this kind of thing but somehow the bindings for my  
editor have got borked.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226


More information about the Zope-CMF mailing list