~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testlog.py

  • Committer: Lalo Martins
  • Date: 2005-09-09 11:37:44 UTC
  • mto: (1185.1.22)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: lalo@exoweb.net-20050909113744-22f870db25a9e5f5
getting rid of everything that calls the Branch constructor directly

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
            self.assertEquals(expected, got)
66
66
 
67
67
    def test_cur_revno(self):
68
 
        b = Branch('.', init=True)
 
68
        b = Branch.initialize('.')
69
69
 
70
70
        lf = LogCatcher()
71
71
        b.commit('empty commit')
86
86
    def test_simple_log(self):
87
87
        eq = self.assertEquals
88
88
        
89
 
        b = Branch('.', init=True)
 
89
        b = Branch.initialize('.')
90
90
 
91
91
        lf = LogCatcher()
92
92
        show_log(b, lf)