/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/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-09-03 07:02:12 UTC
  • mfrom: (2778.1.1 rm.marius)
  • Revision ID: pqm@pqm.ubuntu.com-20070903070212-g8basoqekm8c489k
(Marius Cruger) bzr rm should remove clean subtrees (#111665, r=bialix)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2078
2078
        else:
2079
2079
            self.failIf(osutils.lexists(path),path+" exists")
2080
2080
 
2081
 
    def assertInWorkingTree(self,path,root_path='.',tree=None):
 
2081
    def assertInWorkingTree(self, path, root_path='.', tree=None):
2082
2082
        """Assert whether path or paths are in the WorkingTree"""
2083
2083
        if tree is None:
2084
2084
            tree = workingtree.WorkingTree.open(root_path)
2089
2089
            self.assertIsNot(tree.path2id(path), None,
2090
2090
                path+' not in working tree.')
2091
2091
 
2092
 
    def assertNotInWorkingTree(self,path,root_path='.',tree=None):
 
2092
    def assertNotInWorkingTree(self, path, root_path='.', tree=None):
2093
2093
        """Assert whether path or paths are not in the WorkingTree"""
2094
2094
        if tree is None:
2095
2095
            tree = workingtree.WorkingTree.open(root_path)