~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

Test and implement RemoteBranch.last_revision_info()
(Wouter van Heyst, Robert Collins, Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
    def test_registered_methods(self):
252
252
        """Test that known methods are registered to the correct object."""
253
253
        self.assertEqual(
 
254
            smart.request.request_handlers.get('Branch.last_revision_info'),
 
255
            smart.branch.SmartServerBranchRequestLastRevisionInfo)
 
256
        self.assertEqual(
254
257
            smart.request.request_handlers.get('Branch.revision_history'),
255
258
            smart.branch.SmartServerRequestRevisionHistory)
256
259
        self.assertEqual(