~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2817.5.1.

  • Committer: Vincent Ladeuil
  • Date: 2007-09-13 15:20:49 UTC
  • mto: (2875.1.1 147986)
  • mto: This revision was merged to the branch mainline in revision 2887.
  • Revision ID: v.ladeuil+lp@free.fr-20070913152049-aeo7iwaln0fusp33
Catch leaking tests.

* bzrlib/tests/__init__.py:
(ExtendedTestResult._addSkipped): Fix typo __exc__info does not
exists. Why this has went unnoticed so long is a bit of a mistery.
(TestCaseWithMemoryTransport._create_safety_net): Isolated for
reuse.
(TestCaseWithMemoryTransport._check_safety_net): Basic test that
the test did not use the scratch .bzr directory.
(TestCaseWithMemoryTransport._make_test_root): Ensures that the
bzr scratch directory stays intact.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: