~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Robert Collins
  • Date: 2007-09-03 23:19:00 UTC
  • mfrom: (2791 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2792.
  • Revision ID: robertc@robertcollins.net-20070903231900-j3or8vkiixxpskzm
Fix some inconsistent NEWS indents.

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
    import bzrlib.tests.interrepository_implementations
136
136
    import bzrlib.tests.interversionedfile_implementations
137
137
    import bzrlib.tests.intertree_implementations
 
138
    import bzrlib.tests.inventory_implementations
138
139
    import bzrlib.tests.per_lock
139
140
    import bzrlib.tests.repository_implementations
140
141
    import bzrlib.tests.revisionstore_implementations
149
150
            bzrlib.tests.interrepository_implementations,
150
151
            bzrlib.tests.interversionedfile_implementations,
151
152
            bzrlib.tests.intertree_implementations,
 
153
            bzrlib.tests.inventory_implementations,
152
154
            bzrlib.tests.per_lock,
153
155
            bzrlib.tests.repository_implementations,
154
156
            bzrlib.tests.revisionstore_implementations,
374
376
    def wasStrictlySuccessful(self):
375
377
        if self.unsupported or self.known_failure_count:
376
378
            return False
377
 
 
378
379
        return self.wasSuccessful()
379
380
 
380
381
 
2077
2078
        else:
2078
2079
            self.failIf(osutils.lexists(path),path+" exists")
2079
2080
 
2080
 
    def assertInWorkingTree(self,path,root_path='.',tree=None):
 
2081
    def assertInWorkingTree(self, path, root_path='.', tree=None):
2081
2082
        """Assert whether path or paths are in the WorkingTree"""
2082
2083
        if tree is None:
2083
2084
            tree = workingtree.WorkingTree.open(root_path)
2088
2089
            self.assertIsNot(tree.path2id(path), None,
2089
2090
                path+' not in working tree.')
2090
2091
 
2091
 
    def assertNotInWorkingTree(self,path,root_path='.',tree=None):
 
2092
    def assertNotInWorkingTree(self, path, root_path='.', tree=None):
2092
2093
        """Assert whether path or paths are not in the WorkingTree"""
2093
2094
        if tree is None:
2094
2095
            tree = workingtree.WorkingTree.open(root_path)