/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_status.py

  • Committer: Aaron Bentley
  • Date: 2007-07-22 17:36:22 UTC
  • mfrom: (2644.2.1 bzr.benchmarks)
  • mto: This revision was merged to the branch mainline in revision 2647.
  • Revision ID: aaron.bentley@utoronto.ca-20070722173622-1p4mw28bzp1qangs
Fix deprecation warnings on benchmarks (Lukáš Lalinský)

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'])