~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-12-15 15:42:02 UTC
  • mfrom: (2182.3.12 annotate_show_ids)
  • Revision ID: pqm@pqm.ubuntu.com-20061215154202-8f239c218ab6fe7d
(John Arbash Meinel) Fix annotate tests which fail in certain timezones

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"""