~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

  • Committer: Andrew Bennetts
  • Date: 2007-09-06 01:15:44 UTC
  • mto: (2535.4.11 streaming-smart-fetch)
  • mto: This revision was merged to the branch mainline in revision 2906.
  • Revision ID: andrew.bennetts@canonical.com-20070906011544-5bf3h1uu6jxt1wt4
Add check for Repository.stream_knit_data_for_revisions to TestHandlers.test_registered_methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
858
858
            smart.request.request_handlers.get('Repository.gather_stats'),
859
859
            smart.repository.SmartServerRepositoryGatherStats)
860
860
        self.assertEqual(
861
 
            smart.request.request_handlers.get('Repository.get_revision_graph'),
 
861
            smart.request.request_handlers.get(
 
862
                'Repository.get_revision_graph'),
862
863
            smart.repository.SmartServerRepositoryGetRevisionGraph)
863
864
        self.assertEqual(
864
865
            smart.request.request_handlers.get('Repository.has_revision'),
870
871
            smart.request.request_handlers.get('Repository.lock_write'),
871
872
            smart.repository.SmartServerRepositoryLockWrite)
872
873
        self.assertEqual(
 
874
            smart.request.request_handlers.get(
 
875
                'Repository.stream_knit_data_for_revisions'),
 
876
            smart.repository.SmartServerRepositoryStreamKnitDataForRevisions)
 
877
        self.assertEqual(
 
878
            smart.request.request_handlers.get('Repository.tarball'),
 
879
            smart.repository.SmartServerRepositoryTarball)
 
880
        self.assertEqual(
873
881
            smart.request.request_handlers.get('Repository.unlock'),
874
882
            smart.repository.SmartServerRepositoryUnlock)
875
883
        self.assertEqual(
876
 
            smart.request.request_handlers.get('Repository.tarball'),
877
 
            smart.repository.SmartServerRepositoryTarball)
878
 
        self.assertEqual(
879
884
            smart.request.request_handlers.get('Transport.is_readonly'),
880
885
            smart.request.SmartServerIsReadonly)