~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2007-08-03 02:52:23 UTC
  • mto: This revision was merged to the branch mainline in revision 2700.
  • Revision ID: aaron.bentley@utoronto.ca-20070803025223-u0dfa0rwptw0gxy2
teach run_bzr_subprocess to accept either a list of strings or a string

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    def test_cat(self):
29
29
 
30
30
        def bzr(*args, **kwargs):
31
 
            return self.run_bzr_subprocess(*args, **kwargs)[0]
 
31
            return self.run_bzr_subprocess(list(args), **kwargs)[0]
32
32
 
33
33
        os.mkdir('branch')
34
34
        os.chdir('branch')