/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/branch_implementations/__init__.py

Add a --transport parameter to the test suite to set the default transport to be used in the test suite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
"""
26
26
 
27
27
from bzrlib.branch import BranchTestProviderAdapter, BzrBranchFormat
28
 
from bzrlib.tests import adapt_modules, TestLoader, TestSuite
29
 
from bzrlib.transport.local import LocalRelpathServer
 
28
from bzrlib.tests import (
 
29
                          adapt_modules,
 
30
                          default_transport,
 
31
                          TestLoader,
 
32
                          TestSuite,
 
33
                          )
30
34
 
31
35
 
32
36
def test_suite():
35
39
        'bzrlib.tests.branch_implementations.test_branch',
36
40
        ]
37
41
    adapter = BranchTestProviderAdapter(
38
 
        LocalRelpathServer,
 
42
        default_transport,
39
43
        # None here will cause a readonly decorator to be created
40
44
        # by the TestCaseWithTransport.get_readonly_transport method.
41
45
        None,