/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: Lukáš Lalinský
  • Date: 2007-07-22 12:08:19 UTC
  • mto: (2645.1.1 bzr.ab.integration)
  • mto: This revision was merged to the branch mainline in revision 2647.
  • Revision ID: lalinsky@gmail.com-20070722120819-txzu81te3zc2m72v
Fix deprecation warnings on benchmarks.

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