Hrm... the reason I typically put tests outside of the package is to
skip installing them. Should Pylons just not install that package?
--
Ian Bicking : ia...@colorstudy.com : http://blog.ianbicking.org
The downside of course is disk space. (And on App Engine, the 1000-file limit.)
I don't think a best practice has emerged on where to put the tests,
because some people put them inside the package and others outside.
My inclination would be to put them inside, because a top-level
'tests' is rather presumptive. ("This is the most important package
in the world, and no other package would have tests.")
--
Mike Orr <slugg...@gmail.com>
Well, with py.test it didn't care about __init__.py, so it wouldn't be a
test at all. But then with Python 2.6 that isn't enough to keep it from
being a package, and nose cared about importability so a lot of them
have __init__.py... which messes it up. But still that tests/ directory
should never be installed if it is top-level.