/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/blackbox/test_mv.py

  • Committer: Marius Kruger
  • Date: 2007-01-19 19:42:19 UTC
  • mto: This revision was merged to the branch mainline in revision 2241.
  • Revision ID: amanic@gmail.com-20070119194219-mlzsauq30x2az9sq
Remove assertNone

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
    def assertInWorkingTree(self,path):
36
36
        tree = workingtree.WorkingTree.open('.')
37
 
        self.assertNotNone(tree.path2id(path),path+' not in working tree.')
 
37
        self.assertIsNot(tree.path2id(path), None,
 
38
            path+' not in working tree.')
38
39
 
39
40
    def assertNotInWorkingTree(self,path):
40
41
        tree = workingtree.WorkingTree.open('.')
41
 
        self.assertNone(tree.path2id(path),path+' in working tree.')
 
42
        self.assertIs(tree.path2id(path), None, path+' in working tree.')
42
43
 
43
44
    def assertMoved(self,from_path,to_path):
44
45
        """Assert that to_path is existing and versioned but from_path not. """