~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_inv.py

  • Committer: Jelmer Vernooij
  • Date: 2006-06-07 16:49:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1753.
  • Revision ID: jelmer@samba.org-20060607164920-caf81a5d3dfc3427
Move committer, log, revprops, timestamp and timezone to CommitBuilder.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
from cStringIO import StringIO
18
18
import os
 
19
import time
19
20
 
20
21
from bzrlib.branch import Branch
21
22
import bzrlib.errors as errors
305
306
        self.inv_1 = self.branch.repository.get_inventory('1')
306
307
        self.file_1 = self.inv_1['fileid']
307
308
        self.file_active = self.wt.inventory['fileid']
308
 
        self.builder = self.branch.get_commit_builder([])
309
 
        self.builder.set_revision_id('2')
 
309
        self.builder = self.branch.get_commit_builder([], timestamp=time.time(), revision_id='2')
310
310
 
311
311
    def test_snapshot_new_revision(self):
312
312
        # This tests that a simple commit with no parents makes a new