Rev 2230: (Vincent Ladeuil) Clean up TestCaseWithMemoryTransport in /home/pqm/archives/thelove/bzr/+trunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Thu Jan 11 16:12:30 GMT 2007
------------------------------------------------------------
revno: 2230
revision-id: pqm at pqm.ubuntu.com-20070111161229-759760c90ec737e6
parent: pqm at pqm.ubuntu.com-20070111014309-058f987c23817400
parent: john at arbash-meinel.com-20070111155741-ytnaog8q1mwz71u6
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2007-01-11 16:12:29 +0000
message:
(Vincent Ladeuil) Clean up TestCaseWithMemoryTransport
modified:
bzrlib/tests/__init__.py selftest.py-20050531073622-8d0e3c8845c97a64
bzrlib/tests/test_selftest.py test_selftest.py-20051202044319-c110a115d8c0456a
------------------------------------------------------------
merged: john at arbash-meinel.com-20070111155741-ytnaog8q1mwz71u6
parent: pqm at pqm.ubuntu.com-20070111014309-058f987c23817400
parent: v.ladeuil+lp at free.fr-20070111084551-i00dpvj4161h421n
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Thu 2007-01-11 09:57:41 -0600
message:
(Vincent Ladeuil) Clean up TestCaseWithMemoryTransport
------------------------------------------------------------
merged: v.ladeuil+lp at free.fr-20070111084551-i00dpvj4161h421n
parent: v.ladeuil+lp at free.fr-20070110161134-w7cp18w3yby885d6
committer: v.ladeuil+lp at free.fr
branch nick: bzr.memory.tests
timestamp: Thu 2007-01-11 09:45:51 +0100
message:
Cleanup.
* bzrlib/tests/test_selftest.py:
(TestTestCaseWithMemoryTransport.test_make_branch_and_memory_tree,
TestTestCaseWithMemoryTransport.test_make_branch_and_memory_tree_with_format):
Inline previous calls to fail[Unless|If]ExistsOnDisk and clearly
explain their aim.
* bzrlib/tests/__init__.py:
(TestCaseWithMemoryTransport.failUnlessExistsOnDisk,
TestCaseWithMemoryTransport.failIfExistsOnDisk): Deleted. They
were more confusing than helpful.
------------------------------------------------------------
merged: v.ladeuil+lp at free.fr-20070110161134-w7cp18w3yby885d6
parent: pqm at pqm.ubuntu.com-20070109142832-337c25188ea46f2d
committer: v.ladeuil+lp at free.fr
branch nick: bzr.memory.tests
timestamp: Wed 2007-01-10 17:11:34 +0100
message:
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*.
More information about the bazaar-commits
mailing list