~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revision_info.py

  • Committer: Robert Collins
  • Date: 2005-11-28 05:13:41 UTC
  • mfrom: (1185.33.54 merge-recovered)
  • Revision ID: robertc@robertcollins.net-20051128051341-059936f2f29a12c8
Merge from Martin. Adjust check to work with HTTP again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
17
import os
18
 
from bzrlib.selftest import TestCaseInTempDir
 
18
from bzrlib.tests import TestCaseInTempDir
19
19
from bzrlib.errors import BzrCommandError, NoSuchRevision
20
20
from bzrlib.branch import Branch
21
21
from bzrlib.revisionspec import RevisionSpec
92
92
        b.working_tree().commit('Commit three', rev_id='a@r-0-3')
93
93
 
94
94
        revs = {
95
 
            1:b.get_revision_xml_file('a@r-0-1').read(),
96
 
            2:b.get_revision_xml_file('a@r-0-2').read(),
97
 
            3:b.get_revision_xml_file('a@r-0-3').read()
 
95
            1:b.get_revision_xml('a@r-0-1'),
 
96
            2:b.get_revision_xml('a@r-0-2'),
 
97
            3:b.get_revision_xml('a@r-0-3')
98
98
        }
99
99
 
100
100
        self.check_output(revs[1], 'cat-revision', 'a@r-0-1')