~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revision_info.py

Merge from mbp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        """Test that 'bzr revision-info' reports the correct thing.
43
43
        """
44
44
 
45
 
        b = Branch.initialize('.')
 
45
        b = Branch.initialize(u'.')
46
46
 
47
47
        b.working_tree().commit('Commit one', rev_id='a@r-0-1')
48
48
        b.working_tree().commit('Commit two', rev_id='a@r-0-2')
49
49
        b.working_tree().commit('Commit three', rev_id='a@r-0-3')
50
50
 
51
51
        # Make sure revision-info without any arguments throws an exception
52
 
        self.check_error('bzr: ERROR: bzrlib.errors.BzrCommandError: '
 
52
        self.check_error('bzr: ERROR: '
53
53
                         'You must supply a revision identifier\n',
54
54
                         'revision-info')
55
55
 
85
85
    def test_cat_revision(self):
86
86
        """Test bzr cat-revision.
87
87
        """
88
 
        b = Branch.initialize('.')
 
88
        b = Branch.initialize(u'.')
89
89
 
90
90
        b.working_tree().commit('Commit one', rev_id='a@r-0-1')
91
91
        b.working_tree().commit('Commit two', rev_id='a@r-0-2')