~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_remove.py

  • Committer: Martin Pool
  • Date: 2007-11-29 07:12:42 UTC
  • mto: This revision was merged to the branch mainline in revision 3048.
  • Revision ID: mbp@sourcefrog.net-20071129071242-1tcn2a18547udlvw
Fix up calls to TestCase.build_tree passing a string rather than a list

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
    def test_remove_changed_file(self):
87
87
        """Removal of a changed files must fail."""
88
 
        tree = self.get_committed_tree('a')
 
88
        tree = self.get_committed_tree(['a'])
89
89
        self.build_tree_contents([('a', "some other new content!")])
90
90
        self.assertInWorkingTree('a')
91
91
        err = self.assertRaises(errors.BzrRemoveChangedFilesError, tree.remove,