~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/commands/__init__.py

  • Committer: Vincent Ladeuil
  • Date: 2007-05-25 14:41:42 UTC
  • mto: (2485.8.44 bzr.connection.sharing)
  • mto: This revision was merged to the branch mainline in revision 2646.
  • Revision ID: v.ladeuil+lp@free.fr-20070525144142-wp4vof8hjjn3g9zx
Fix the 'FtpServer' so that it can handle full bzr commands.

* bzrlib/transport/ftp.py:
(FtpServer.setUp): Allows for 10000 requests instead of 1000 or
the server dies peacefully and so quietly that the client still
waits for him to asnswer the requests.
(FtpServer._asyncore_loop_ignore_EBADF): Add a FIXME waiting for
more understanding no how to report the problem.

* bzrlib/tests/commands/test_branch.py:
(TestBranch): Tests combinations of local and remote branches.

* bzrlib/tests/commands/__init__.py:
(test_suite): Add test_push.

* bzrlib/tests/commands/test_push.py: 
New file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    testmod_names = [
31
31
        'bzrlib.tests.commands.test_branch',
32
32
        'bzrlib.tests.commands.test_init',
 
33
        'bzrlib.tests.commands.test_push',
33
34
        ]
34
35
    loader = TestLoader()
35
36
    suite = loader.loadTestsFromModuleNames(testmod_names)