[Bug 62521] Re: bzr should run without bzrlib.tests installed.

Martin Pool mbp at sourcefrog.net
Thu Mar 20 04:07:33 GMT 2008


On Thu, Mar 20, 2008 at 1:59 PM, Aaron Bentley <aaron at canonical.com> wrote:
>  Alexander Belchenko wrote:
>  > I'd like to have test suite decoupled from bzrlib in companioning
>  > package, let's say moving bzrlib/tests to bzrtests python package. This
>  > will help to reduce the size of windows standalone installer as well.
>
>  This is at most a feature request not a bug, and definitely the sort of
>  massive change that warrants list discussion.

Some random thoughts (off the bug):

Tests should remain in the same versioned tree.

We'd like to split the unittest enhancements out of bzrlib; or at
least to a module in bzrlib that has nothing bzr-specific within it.

If any command that's not 'bzr selftest' imports bzrlib.tests or fails
if it's not there, that's probably a bug.  If we added a bit of glue
about how selftest reported an import error then it would be open to
packagers to cut it off.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list