~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_mv.py

  • Committer: John Arbash Meinel
  • Date: 2007-04-28 15:04:17 UTC
  • mfrom: (2466 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2566.
  • Revision ID: john@arbash-meinel.com-20070428150417-trp3pi0pzd411pu4
[merge] bzr.dev 2466

Show diffs side-by-side

added added

removed removed

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