~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/memory.py

Push the transport permutations list into each transport module allowing for automatic testing of new modules that are registered as transports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
    def get_url(self):
189
189
        """See bzrlib.transport.Server.get_url."""
190
190
        return self._scheme
 
191
 
 
192
 
 
193
def get_test_permutations():
 
194
    """Return the permutations to be used in testing."""
 
195
    return [(MemoryTransport, MemoryServer),
 
196
            ]