~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2007-06-28 23:18:09 UTC
  • mfrom: (2562 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2566.
  • Revision ID: john@arbash-meinel.com-20070628231809-pqbt7puoqj8bl07b
[merge] bzr.dev 2562

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
class TestRemove(ExternalBase):
33
33
 
34
 
    def run_bzr_captured(self, argv, retcode=0, encoding=None, stdin=None,
35
 
                         working_dir=None):
36
 
 
37
 
        # magically convert commands like 'remove abc' to ['remove', 'abc']
38
 
        if (isinstance(argv, tuple) and len(argv) == 1 and
39
 
            isinstance(argv[0], basestring)):
40
 
            argv = shlex.split(argv[0])
41
 
        return ExternalBase.run_bzr_captured(self, argv, retcode, encoding,
42
 
            stdin, working_dir)
43
 
 
44
34
    def _make_add_and_assert_tree(self, files):
45
35
        tree = self.make_branch_and_tree('.')
46
36
        self.build_tree(files)