/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_log.py

  • Committer: James Westby
  • Date: 2006-11-03 18:35:29 UTC
  • mto: (2133.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2134.
  • Revision ID: jw+debian@jameswestby.net-20061103183529-be47e5c89dac325b
Delete duplicate test_cur_revno test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
        self.assertRaises(InvalidRevisionNumber, show_log, b, lf,
92
92
                          start_revision=1, end_revision=-1) 
93
93
 
94
 
    def test_cur_revno(self):
95
 
        wt = self.make_branch_and_tree('.')
96
 
        b = wt.branch
97
 
 
98
 
        lf = LogCatcher()
99
 
        wt.commit('empty commit')
100
 
        show_log(b, lf, verbose=True, start_revision=1, end_revision=1)
101
 
        self.assertRaises(InvalidRevisionNumber, show_log, b, lf,
102
 
                          start_revision=2, end_revision=1) 
103
 
        self.assertRaises(InvalidRevisionNumber, show_log, b, lf,
104
 
                          start_revision=1, end_revision=2) 
105
 
        self.assertRaises(InvalidRevisionNumber, show_log, b, lf,
106
 
                          start_revision=0, end_revision=2) 
107
 
        self.assertRaises(InvalidRevisionNumber, show_log, b, lf,
108
 
                          start_revision=1, end_revision=0) 
109
 
        self.assertRaises(InvalidRevisionNumber, show_log, b, lf,
110
 
                          start_revision=-1, end_revision=1) 
111
 
        self.assertRaises(InvalidRevisionNumber, show_log, b, lf,
112
 
                          start_revision=1, end_revision=-1) 
113
 
 
114
94
    def test_simple_log(self):
115
95
        eq = self.assertEquals
116
96