~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_log.py

Merge from integration.

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(u'.', init=True)
69
69
 
70
70
        lf = LogCatcher()
71
71
        b.working_tree().commit('empty commit')
84
84
                          start_revision=1, end_revision=-1) 
85
85
 
86
86
    def test_cur_revno(self):
87
 
        b = Branch.initialize('.')
 
87
        b = Branch.initialize(u'.')
88
88
 
89
89
        lf = LogCatcher()
90
90
        b.working_tree().commit('empty commit')
105
105
    def test_simple_log(self):
106
106
        eq = self.assertEquals
107
107
        
108
 
        b = Branch.initialize('.')
 
108
        b = Branch.initialize(u'.')
109
109
 
110
110
        lf = LogCatcher()
111
111
        show_log(b, lf)
175
175
        self.assert_(msg == committed_msg)
176
176
 
177
177
    def test_trailing_newlines(self):
178
 
        b = Branch.initialize('.')
 
178
        b = Branch.initialize(u'.')
179
179
        b.nick='test'
180
180
        wt = b.working_tree()
181
181
        open('a', 'wb').write('hello moto\n')
246
246
        
247
247
        bug #4676
248
248
        """
249
 
        b = Branch.initialize('.')
 
249
        b = Branch.initialize(u'.')
250
250
        self.build_tree(['a'])
251
251
        wt = b.working_tree()
252
252
        wt.add('a')