~bulb/bzr/ignore

« back to all changes in this revision

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

  • Committer: Jan Hudec
  • Date: 2006-05-17 17:49:54 UTC
  • mfrom: (1543.1.168 +trunk)
  • Revision ID: bulb@ucw.cz-20060517174954-f0505b93219a1e36
Updated from bzr.dev and reverted changes to config.
The (unfinished) changes to config broke it's tests, so were reverted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
rather than in tests/branch_implementations/*.py.
25
25
"""
26
26
 
27
 
from bzrlib.branch import BranchTestProviderAdapter, BzrBranchFormat
 
27
from bzrlib.branch import (BranchFormat,
 
28
                           BranchTestProviderAdapter,
 
29
                           _legacy_formats,
 
30
                           )
28
31
from bzrlib.tests import (
29
32
                          adapt_modules,
30
33
                          default_transport,
36
39
def test_suite():
37
40
    result = TestSuite()
38
41
    test_branch_implementations = [
 
42
        'bzrlib.tests.branch_implementations.test_bound_sftp',
39
43
        'bzrlib.tests.branch_implementations.test_branch',
 
44
        'bzrlib.tests.branch_implementations.test_break_lock',
 
45
        'bzrlib.tests.branch_implementations.test_parent',
 
46
        'bzrlib.tests.branch_implementations.test_permissions',
 
47
        'bzrlib.tests.branch_implementations.test_pull',
 
48
        'bzrlib.tests.branch_implementations.test_update',
40
49
        ]
41
50
    adapter = BranchTestProviderAdapter(
42
51
        default_transport,
43
52
        # None here will cause a readonly decorator to be created
44
53
        # by the TestCaseWithTransport.get_readonly_transport method.
45
54
        None,
46
 
        BzrBranchFormat._formats.values())
 
55
        [(format, format._matchingbzrdir) for format in 
 
56
         BranchFormat._formats.values() + _legacy_formats])
47
57
    loader = TestLoader()
48
58
    adapt_modules(test_branch_implementations, adapter, loader, result)
49
59
    return result