~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/__init__.py

  • Committer: Martin Pool
  • Date: 2007-04-04 01:22:11 UTC
  • mfrom: (2393.1.1 bzr.docs)
  • mto: This revision was merged to the branch mainline in revision 2397.
  • Revision ID: mbp@sourcefrog.net-20070404012211-sq269me6bai9m6xk
merge trunk and doc fix from elliot

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        'bzrlib.tests.branch_implementations.test_uncommit',
58
58
        'bzrlib.tests.branch_implementations.test_update',
59
59
        ]
 
60
    # Generate a list of branch formats and their associated bzrdir formats to
 
61
    # use.
 
62
    combinations = [(format, format._matchingbzrdir) for format in 
 
63
         BranchFormat._formats.values() + _legacy_formats]
60
64
    adapter = BranchTestProviderAdapter(
61
65
        default_transport,
62
66
        # None here will cause a readonly decorator to be created
63
67
        # by the TestCaseWithTransport.get_readonly_transport method.
64
68
        None,
65
 
        [(format, format._matchingbzrdir) for format in 
66
 
         BranchFormat._formats.values() + _legacy_formats])
 
69
        combinations)
67
70
    loader = TestLoader()
68
71
    adapt_modules(test_branch_implementations, adapter, loader, result)
69
72
    return result