[RFC] why for bzrlib.__init__.py has function test_suite()?

Robert Collins robertc at robertcollins.net
Sun May 6 05:42:39 BST 2007

On Fri, 2007-05-04 at 15:14 +0300, Alexander Belchenko wrote:
> Hash: SHA1
> bzrlib.__init__.py has function test_suite():
> def test_suite():
>     import tests
>     return tests.test_suite()
> Why for it needed?

Its the entry point to return the entire test suite.

> Annotation point me back to the end of 2005 year.
> Robert and John touched this code last time.
> I'd like to remove this code, because I want to not
> include our test suite to standalone bzr.exe.
> Our current test suite has size about of 3MB
> (of 6.5MB total size of bzrlib). I expect that resulting
> standalone installer without test suite will reduce
> his size off 500KB-1MB.

I dont think removing that entry point is necessary. You can remove the
entire test suite without removing that function; and if we've fixed our
bugs about interdependencies between some modules and the tests/
packages that should be just fine.

GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070506/36d45aff/attachment.pgp 

More information about the bazaar mailing list