~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Shannon Weyrick
  • Date: 2011-11-04 13:40:04 UTC
  • mfrom: (6238 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6256.
  • Revision ID: weyrick@mozek.us-20111104134004-033t2wqhc3ydzm0a
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    SmartServerRepositoryGetParentMap,
65
65
    SmartServerRepositoryGetStream_1_19,
66
66
    )
 
67
from bzrlib.symbol_versioning import deprecated_in
67
68
from bzrlib.tests import (
68
69
    test_server,
69
70
    )
115
116
 
116
117
    def test_remote_branch_revision_history(self):
117
118
        b = BzrDir.open_from_transport(self.transport).open_branch()
118
 
        self.assertEqual([], b.revision_history())
 
119
        self.assertEqual([],
 
120
            self.applyDeprecated(deprecated_in((2, 5, 0)), b.revision_history))
119
121
        r1 = self.local_wt.commit('1st commit')
120
122
        r2 = self.local_wt.commit('1st commit', rev_id=u'\xc8'.encode('utf8'))
121
 
        self.assertEqual([r1, r2], b.revision_history())
 
123
        self.assertEqual([r1, r2],
 
124
            self.applyDeprecated(deprecated_in((2, 5, 0)), b.revision_history))
122
125
 
123
126
    def test_find_correct_format(self):
124
127
        """Should open a RemoteBzrDir over a RemoteTransport"""