~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_status.py

  • Committer: John Arbash Meinel
  • Date: 2008-09-26 22:14:42 UTC
  • mto: This revision was merged to the branch mainline in revision 3747.
  • Revision ID: john@arbash-meinel.com-20080926221442-3r67j99sr9rwe9w0
Make message optional, don't check the memory flag directly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        of a single file."""
43
43
        self.make_kernel_like_committed_tree()
44
44
        #XXX depends on the filenames generated by make_kernel_like_tree
45
 
        self.time(self.run_bzr, 'status', '7/4/0/16')
 
45
        self.time(self.run_bzr, ['status', '7/4/0/16'])
46
46
 
47
47
    def test_status_one_added_file_kernel_like_tree(self):
48
48
        """Status of a single added file in our stock large tree."""
49
49
        self.make_kernel_like_tree()
50
50
        self.run_bzr('add')
51
 
        self.run_bzr('commit', '-m', 'initial import')
52
 
        self.time(self.run_bzr, 'status', '3/3/3/10')
 
51
        self.run_bzr(['commit', '-m', 'initial import'])
 
52
        self.time(self.run_bzr, ['status', '3/3/3/10'])