~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_status.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-24 00:07:15 UTC
  • mto: This revision was merged to the branch mainline in revision 1979.
  • Revision ID: john@arbash-meinel.com-20060824000715-142aafd575a94f1a
Remove a few more direct references to RevisionSpec

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
from StringIO import StringIO
19
19
 
20
 
from bzrlib.revisionspec import RevisionSpec
 
20
from bzrlib.revisionspec import get_revision_spec
21
21
from bzrlib.status import show_pending_merges, show_tree_status
22
22
from bzrlib.tests import TestCaseWithTransport
23
23
 
42
42
        r2_id = tree.commit('two', allow_pointless=True)
43
43
        r2_tree = tree.branch.repository.revision_tree(r2_id)
44
44
        output = StringIO()
45
 
        show_tree_status(tree, to_file=output, revision=[RevisionSpec("revid:%s" % r1_id), RevisionSpec("revid:%s" % r2_id)])
 
45
        show_tree_status(tree, to_file=output,
 
46
                         revision=[get_revision_spec("revid:%s" % r1_id),
 
47
                                   get_revision_spec("revid:%s" % r2_id)])
46
48
        # return does not matter as long as it did not raise.