/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_selftest.py

  • Committer: Vincent Ladeuil
  • Date: 2008-05-29 09:48:47 UTC
  • mto: (3455.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 3456.
  • Revision ID: v.ladeuil+lp@free.fr-20080529094847-bdj13zzqm68j8aby
Fix typos in comments.

* tests/test_selftest.py:
(TestTransportProviderAdapter): Fix typos in comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
    """
127
127
 
128
128
    def test_get_transport_permutations(self):
129
 
        # this checks that we the module get_test_permutations call
130
 
        # is made by the adapter get_transport_test_permitations method.
 
129
        # this checks that get_test_permutations defined by the module is
 
130
        # called by the adapter get_transport_test_permutations method.
131
131
        class MockModule(object):
132
132
            def get_test_permutations(self):
133
133
                return sample_permutation
139
139
                         adapter.get_transport_test_permutations(MockModule()))
140
140
 
141
141
    def test_adapter_checks_all_modules(self):
142
 
        # this checks that the adapter returns as many permurtations as
143
 
        # there are in all the registered# transport modules for there
144
 
        # - we assume if this matches its probably doing the right thing
145
 
        # especially in combination with the tests for setting the right
146
 
        # classes below.
 
142
        # this checks that the adapter returns as many permutations as there
 
143
        # are in all the registered transport modules - we assume if this
 
144
        # matches its probably doing the right thing especially in combination
 
145
        # with the tests for setting the right classes below.
147
146
        from bzrlib.tests.test_transport_implementations \
148
147
            import TransportTestProviderAdapter
149
148
        from bzrlib.transport import _get_transport_modules