/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 brzlib/tests/blackbox/test_revision_info.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 15:09:40 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521150940-v0kb1o7ebd9vmqjw
Fix some more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
class TestRevisionInfo(TestCaseWithTransport):
25
25
 
26
26
    def check_output(self, output, *args):
27
 
        """Verify that the expected output matches what bzr says.
 
27
        """Verify that the expected output matches what brz says.
28
28
 
29
29
        The output is supplied first, so that you can supply a variable
30
30
        number of arguments to bzr.
32
32
        self.assertEqual(self.run_bzr(*args)[0], output)
33
33
 
34
34
    def test_revision_info(self):
35
 
        """Test that 'bzr revision-info' reports the correct thing."""
 
35
        """Test that 'brz revision-info' reports the correct thing."""
36
36
        wt = self.make_branch_and_tree('.')
37
37
 
38
38
        # Make history with a non-mainline rev
85
85
                          'revision-info --revision revid:a@r-0-1.1.1')
86
86
 
87
87
    def test_revision_info_explicit_branch_dir(self):
88
 
        """Test that 'bzr revision-info' honors the '-d' option."""
 
88
        """Test that 'brz revision-info' honors the '-d' option."""
89
89
        wt = self.make_branch_and_tree('branch')
90
90
 
91
91
        wt.commit('Commit one', rev_id='a@r-0-1')
112
112
        # Try getting the --tree revision-info
113
113
        out,err = self.run_bzr('revision-info --tree -d branch', retcode=3)
114
114
        self.assertEqual('', out)
115
 
        self.assertEqual('bzr: ERROR: No WorkingTree exists for "branch".\n',
 
115
        self.assertEqual('brz: ERROR: No WorkingTree exists for "branch".\n',
116
116
            err)
117
117
 
118
118
    def test_revision_info_not_in_history(self):