20
20
These test the conformance of all the tree variations to the expected API.
21
21
Specific tests for individual variations are in other places such as:
22
- tests/per_workingtree/*.py.
22
23
- tests/test_tree.py
23
24
- tests/test_revision.py
24
25
- tests/test_workingtree.py
25
- tests/workingtree_implementations/*.py.
28
28
from bzrlib import (
35
from bzrlib.tests.bzrdir_implementations.test_bzrdir import TestCaseWithBzrDir
36
from bzrlib.tests.workingtree_implementations import (
35
from bzrlib.tests.per_bzrdir.test_bzrdir import TestCaseWithBzrDir
36
from bzrlib.tests.per_workingtree import (
37
37
make_scenarios as wt_make_scenarios,
38
38
make_scenario as wt_make_scenario,
364
364
def load_tests(standard_tests, module, loader):
365
submod_tests = loader.loadTestsFromModuleNames([
366
'bzrlib.tests.tree_implementations.test_annotate_iter',
367
'bzrlib.tests.tree_implementations.test_get_file_mtime',
368
'bzrlib.tests.tree_implementations.test_get_file_with_stat',
369
'bzrlib.tests.tree_implementations.test_get_root_id',
370
'bzrlib.tests.tree_implementations.test_get_symlink_target',
371
'bzrlib.tests.tree_implementations.test_inv',
372
'bzrlib.tests.tree_implementations.test_iter_search_rules',
373
'bzrlib.tests.tree_implementations.test_list_files',
374
'bzrlib.tests.tree_implementations.test_path_content_summary',
375
'bzrlib.tests.tree_implementations.test_revision_tree',
376
'bzrlib.tests.tree_implementations.test_test_trees',
377
'bzrlib.tests.tree_implementations.test_tree',
378
'bzrlib.tests.tree_implementations.test_walkdirs',
365
per_tree_mod_names = [
368
'get_file_with_stat',
370
'get_symlink_target',
374
'path_content_summary',
380
submod_tests = loader.loadTestsFromModuleNames(
381
['bzrlib.tests.per_tree.test_' + name
382
for name in per_tree_mod_names])
380
383
scenarios = make_scenarios(
381
384
tests.default_transport,
382
385
# None here will cause a readonly decorator to be created