/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/tests/test_transform.py

  • Committer: Aaron Bentley
  • Date: 2010-05-10 16:25:47 UTC
  • mto: This revision was merged to the branch mainline in revision 5221.
  • Revision ID: aaron@aaronbentley.com-20100510162547-zwzas3zj3xom2jst
Fix failing test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2115
2115
 
2116
2116
    def test_commit_rich_revision_data(self):
2117
2117
        branch, tt = self.get_branch_and_transform()
2118
 
        rev_id = tt.commit(branch, 'message', timestamp=1, timezone=43200,
 
2118
        rev_id = tt.commit(branch, 'message', timestamp=1, timezone=43201,
2119
2119
                           committer='me <me@example.com>',
2120
2120
                           revprops={'foo': 'bar'}, revision_id='revid-1',
2121
2121
                           authors=['Author1 <author1@example.com>',
2124
2124
        self.assertEqual('revid-1', rev_id)
2125
2125
        revision = branch.repository.get_revision(rev_id)
2126
2126
        self.assertEqual(1, revision.timestamp)
2127
 
        self.assertEqual(43200, revision.timezone)
 
2127
        self.assertEqual(43201, revision.timezone)
2128
2128
        self.assertEqual('me <me@example.com>', revision.committer)
2129
2129
        self.assertEqual(['Author1 <author1@example.com>',
2130
2130
                          'Author2 <author2@example.com>'],