On Tue, 2010-12-28 at 20:35 +0100, Wichert Akkerman wrote:
> > I actually argue that moving imports out of module scope in testcase
> > modules is best practice:
> I agree, but in this case TestBrowser is not something that is tested 
> but a utility to help writing tests. It is similar to DummyRequest, 
> DummyModel, etc. That is why I moved it out to testing.py as well.

I could add features to venusian to allow it to skip certain
package/module names by regex, but this may be a case where having the
test code as a subpackage of the distributed package (a opposed to a
"tests" directory in the setuptools project directory, as a peer of
"setup.py) is a lose. 

- C

Repoze-dev mailing list

Reply via email to