/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-07-07 23:05:06 UTC
  • mfrom: (3526.3.1 hpss-1.5-compat)
  • Revision ID: pqm@pqm.ubuntu.com-20080707230506-82h5w03vc72dyf1a
Unregister defunct HPSS verbs. Fixes incompatibility with clients <=
        1.5. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1011
1011
class TestHandlers(tests.TestCase):
1012
1012
    """Tests for the request.request_handlers object."""
1013
1013
 
 
1014
    def test_all_registrations_exist(self):
 
1015
        """All registered request_handlers can be found."""
 
1016
        # If there's a typo in a register_lazy call, this loop will fail with
 
1017
        # an AttributeError.
 
1018
        for key, item in smart.request.request_handlers.iteritems():
 
1019
            pass
 
1020
 
1014
1021
    def test_registered_methods(self):
1015
1022
        """Test that known methods are registered to the correct object."""
1016
1023
        self.assertEqual(