~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: v.ladeuil+lp at free
  • Date: 2007-05-15 17:40:32 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-20070515174032-qzdkangpv29l9e7g
Add a test that check that init connect only once. It fails.

* __init__.py:
(test_suite): Register the new test class.

* test_init.py: 
(InstrumentedTransport): A transport that can track connections.
(TransportHooks): Transport specific hooks.
(TestInit): Iniit command behavior tests.

* ftp.py:
(FtpTransport.__init__): Mark place that need fixing regarding
transport connection sharing

* builtins.py:
(cmd_init.run): Mark places that need fixing regarding transport
connection sharing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2299
2299
                   'bzrlib.tests.test_identitymap',
2300
2300
                   'bzrlib.tests.test_ignores',
2301
2301
                   'bzrlib.tests.test_inv',
 
2302
                   'bzrlib.tests.test_init',
2302
2303
                   'bzrlib.tests.test_knit',
2303
2304
                   'bzrlib.tests.test_lazy_import',
2304
2305
                   'bzrlib.tests.test_lazy_regex',