~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_smart_add.py

  • Committer: Martin Pool
  • Date: 2005-08-30 03:10:32 UTC
  • Revision ID: mbp@sourcefrog.net-20050830031032-92ae5f0abb866ab8
- remove dead code and remove some small errors (pychecker)

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        """Test nested trees are not affect by an add above them."""
45
45
        from bzrlib.add import smart_add
46
46
        paths = ("original/", "original/file1", "original/file2")
47
 
        child_paths = ("path")
 
47
        child_paths = ("path",)
48
48
        full_child_paths = ("original/child", "original/child/path")
49
49
        build_paths = ("original/", "original/file1", "original/file2", 
50
50
                       "original/child/", "original/child/path")
 
51
        
51
52
        self.build_tree(build_paths)
52
53
        branch = Branch(".", init=True)
53
54
        child_branch = Branch("original/child", init=True)