/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

(robertc) Add MemoryTree and TreeBuilder test helpers. Also test behavior of transport.has('/') which caused failures in this when merging, and as a result cleanup the sftp path normalisation logic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
920
920
        self.assertIsInstance(bzrlib.bzrdir.BzrDir.open('b')._format,
921
921
                              bzrlib.bzrdir.BzrDirFormat6)
922
922
 
 
923
    def test_make_branch_and_mutable_tree(self):
 
924
        # we should be able to get a new branch and a mutable tree from
 
925
        # TestCaseWithTransport
 
926
        tree = self.make_branch_and_memory_tree('a')
 
927
        self.assertIsInstance(tree, bzrlib.memorytree.MemoryTree)
 
928
 
923
929
 
924
930
class TestSFTPMakeBranchAndTree(TestCaseWithSFTPServer):
925
931