~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.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:
283
283
        """See Transport.Server.get_url."""
284
284
        # FIXME: \ to / on windows
285
285
        return "file://%s" % os.path.abspath("")
 
286
 
 
287
 
 
288
def get_test_permutations():
 
289
    """Return the permutations to be used in testing."""
 
290
    return [(LocalTransport, LocalRelpathServer),
 
291
            (LocalTransport, LocalAbspathServer),
 
292
            (LocalTransport, LocalURLServer),
 
293
            ]