~bzr-pqm/bzr/bzr.dev

Fix test suite to provide a better debugging experience.

* bzrlib/tests/TransportUtil.py:
(TestCaseWithConnectionHookedTransport.setUp.cleanup): hooks are
installed on demand but always reset if installed.
(TestCaseWithConnectionHookedTransport.install_hooks,
TestCaseWithConnectionHookedTransport.reset_hooks): New methods
giving a finer control on when hooks are active.

* bzrlib/tests/commands/test_push.py:
(TestPush.test_push): Install hooks when necessary.

* bzrlib/tests/commands/test_pull.py:
(TestPull.test_pull): Install hooks when necessary.

* bzrlib/tests/commands/test_missing.py:
(TestMissing.test_missing): Install hooks when necessary.

* bzrlib/tests/commands/test_merge.py:
(TestMerge.test_merge): Install hooks when necessary.

* bzrlib/tests/commands/test_init_repository.py:
(TestInitRepository.setUp): Install hooks when necessary.

* bzrlib/tests/commands/test_init.py:
(TestInit.setUp): Install hooks when necessary.

* bzrlib/tests/commands/test_checkout.pyL
(TestCheckout.test_checkout): Install hooks when necessary.

* bzrlib/tests/commands/test_cat.py:
(TestCat.test_cat): Install hooks when necessary.

* bzrlib/tests/commands/test_branch.py:
(TestBranch.setUp): Install hooks when necessary.
Filename Latest Rev Last Changed Committer Comment Size
..
bash 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
emacs 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
zsh 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
add-bzr-to-baz 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 223 bytes Diff Download File
create_bzr_rollup.py 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 5.5 KB Diff Download File
fortune 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 306 bytes Diff Download File
newinventory.py 1963.2.6 18 years ago Robey Pointer pychecker is on crack; go back to using 'is None'. 4.3 KB Diff Download File
pwclient.full 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 13 KB Diff Download File
pwk 1583.1.2 18 years ago Michael Ellerman Update contrib/pwk for -p1 diffs from bzr 897 bytes Diff Download File
upload-bzr.dev 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 829 bytes Diff Download File