~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2227.2.1.

  • Committer: v.ladeuil+lp at free
  • Date: 2007-01-10 16:11:34 UTC
  • mto: (2229.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2230.
  • Revision ID: v.ladeuil+lp@free.fr-20070110161134-w7cp18w3yby885d6
Small fixes to test suite in the hope that it will facilitate the
adoption of TestCaseWithMemoryTransport.

* bzrlib/tests/test_selftest.py:
(TestTestCaseWithMemoryTransport.test_make_branch_and_memory_tree,
TestTestCaseWithMemoryTransport.test_make_branch_and_memory_tree_with_format)):
Ensures that MemoryTransport is not leaking.

* bzrlib/tests/__init__.py:
(TestCaseWithMemoryTransport.failUnlessExistsOnDisk,
TestCaseWithMemoryTransport.failIfExistsOnDisk): Renamed from
failUnlessExists and failIfExists which should remain targeted at
testing that a file do not exists in the context of the transport
specific test.
(TestCaseInTempDir.failUnlessExists,
TestCaseInTempDir.failIfExists): Lazily maintain compatibility
with existing tests: assumes that we work in the current directory
*on disk*.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: