~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_status.py

  • Committer: Carl Friedrich Bolz
  • Date: 2006-08-18 16:42:15 UTC
  • mto: (1908.3.21 usecases-benchmarks)
  • mto: This revision was merged to the branch mainline in revision 2068.
  • Revision ID: cfbolz@gmx.de-20060818164215-e4204fb71639c4b9
Use the proper functions for constructing trees in benchmarks introduced a
while ago that are also properly cached.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    def test_single_file_no_changes_known_kernel_like_tree(self):
39
39
        """Status in a kernel sized tree with no ignored, unknowns, or added
40
40
        of a single file."""
 
41
        self.make_kernel_like_committed_tree()
41
42
        #XXX depends on the filenames generated by make_kernel_like_tree
42
 
        self.make_kernel_like_tree()
43
 
        self.run_bzr('add')
44
 
        self.run_bzr('commit', '-m', 'initial import')
45
43
        self.time(self.run_bzr, 'status', '7/4/0/16')