~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_annotate.py

  • Committer: John Arbash Meinel
  • Date: 2006-12-15 15:23:43 UTC
  • mto: This revision was merged to the branch mainline in revision 2191.
  • Revision ID: john@arbash-meinel.com-20061215152343-me4dn3s2f92yd89o
Force the timezone properly during tests which look at dates.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
                                  ('nomail.txt', 'nomail\n')])
40
40
        wt.add(['hello.txt'])
41
41
        self.revision_id_1 = wt.commit('add hello',
42
 
                              committer='test@user', timestamp=1165960000.00)
 
42
                              committer='test@user',
 
43
                              timestamp=1165960000.00, timezone=0)
43
44
        wt.add(['nomail.txt'])
44
45
        self.revision_id_2 = wt.commit('add nomail',
45
 
                              committer='no mail', timestamp=1165970000.00)
 
46
                              committer='no mail',
 
47
                              timestamp=1165970000.00, timezone=0)
46
48
        self.build_tree_contents([('hello.txt', 'my helicopter\n'
47
49
                                                'your helicopter\n')])
48
50
        self.revision_id_3 = wt.commit('mod hello',
49
 
                              committer='user@test', timestamp=1166040000.00)
 
51
                              committer='user@test',
 
52
                              timestamp=1166040000.00, timezone=0)
50
53
        self.build_tree_contents([('hello.txt', 'my helicopter\n'
51
54
                                                'your helicopter\n'
52
55
                                                'all of\n'
53
56
                                                'our helicopters\n'
54
57
                                  )])
55
58
        self.revision_id_4 = wt.commit('mod hello',
56
 
                              committer='user@test', timestamp=1166050000.00)
 
59
                              committer='user@test',
 
60
                              timestamp=1166050000.00, timezone=0)
57
61
 
58
62
    def test_help_annotate(self):
59
63
        """Annotate command exists"""