~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-01-11 04:33:12 UTC
  • mto: (5582.12.2 weave-plugin)
  • mto: This revision was merged to the branch mainline in revision 5718.
  • Revision ID: jelmer@samba.org-20110111043312-g4wx6iuf9662f36d
Move weave formats into bzrlib.plugins.weave_fmt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
from bzrlib.transform import TransformPreview
40
40
from bzrlib.workingtree import (
41
41
    WorkingTreeFormat,
42
 
    _legacy_formats,
43
42
    )
44
43
from bzrlib.workingtree_4 import (
45
44
    DirStateRevisionTree,
393
392
    submod_tests = loader.loadTestsFromModuleNames(
394
393
        ['bzrlib.tests.per_tree.test_' + name
395
394
         for name in per_tree_mod_names])
 
395
    from bzrlib.plugins.weave_fmt.workingtree import _legacy_formats as weave_formats
396
396
    scenarios = make_scenarios(
397
397
        tests.default_transport,
398
398
        # None here will cause a readonly decorator to be created
399
399
        # by the TestCaseWithTransport.get_readonly_transport method.
400
400
        None,
401
 
        WorkingTreeFormat._formats.values() + _legacy_formats)
 
401
        WorkingTreeFormat._formats.values() + weave_formats)
402
402
    # add the tests for the sub modules
403
403
    return tests.multiply_tests(submod_tests, scenarios, standard_tests)