~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2009-07-10 05:49:34 UTC
  • mto: (4525.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4526.
  • Revision ID: mbp@sourcefrog.net-20090710054934-af7tm9lxeq04mbmf
Rename tests.branch_implementations to per_branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
These test the conformance of all the branch variations to the expected API.
23
23
Specific tests for individual formats are in the tests/test_branch file
24
 
rather than in tests/branch_implementations/*.py.
 
24
rather than in tests/per_branch/*.py.
25
25
"""
26
26
 
27
27
from bzrlib import (
163
163
 
164
164
 
165
165
def load_tests(standard_tests, module, loader):
166
 
    test_branch_implementations = [
167
 
        'bzrlib.tests.branch_implementations.test_bound_sftp',
168
 
        'bzrlib.tests.branch_implementations.test_branch',
169
 
        'bzrlib.tests.branch_implementations.test_break_lock',
170
 
        'bzrlib.tests.branch_implementations.test_check',
171
 
        'bzrlib.tests.branch_implementations.test_create_checkout',
172
 
        'bzrlib.tests.branch_implementations.test_create_clone',
173
 
        'bzrlib.tests.branch_implementations.test_commit',
174
 
        'bzrlib.tests.branch_implementations.test_dotted_revno_to_revision_id',
175
 
        'bzrlib.tests.branch_implementations.test_get_revision_id_to_revno_map',
176
 
        'bzrlib.tests.branch_implementations.test_hooks',
177
 
        'bzrlib.tests.branch_implementations.test_http',
178
 
        'bzrlib.tests.branch_implementations.test_iter_merge_sorted_revisions',
179
 
        'bzrlib.tests.branch_implementations.test_last_revision_info',
180
 
        'bzrlib.tests.branch_implementations.test_locking',
181
 
        'bzrlib.tests.branch_implementations.test_parent',
182
 
        'bzrlib.tests.branch_implementations.test_permissions',
183
 
        'bzrlib.tests.branch_implementations.test_pull',
184
 
        'bzrlib.tests.branch_implementations.test_push',
185
 
        'bzrlib.tests.branch_implementations.test_reconcile',
186
 
        'bzrlib.tests.branch_implementations.test_revision_history',
187
 
        'bzrlib.tests.branch_implementations.test_revision_id_to_dotted_revno',
188
 
        'bzrlib.tests.branch_implementations.test_revision_id_to_revno',
189
 
        'bzrlib.tests.branch_implementations.test_sprout',
190
 
        'bzrlib.tests.branch_implementations.test_stacking',
191
 
        'bzrlib.tests.branch_implementations.test_tags',
192
 
        'bzrlib.tests.branch_implementations.test_uncommit',
193
 
        'bzrlib.tests.branch_implementations.test_update',
 
166
    test_per_branch = [
 
167
        'bzrlib.tests.per_branch.test_bound_sftp',
 
168
        'bzrlib.tests.per_branch.test_branch',
 
169
        'bzrlib.tests.per_branch.test_break_lock',
 
170
        'bzrlib.tests.per_branch.test_check',
 
171
        'bzrlib.tests.per_branch.test_create_checkout',
 
172
        'bzrlib.tests.per_branch.test_create_clone',
 
173
        'bzrlib.tests.per_branch.test_commit',
 
174
        'bzrlib.tests.per_branch.test_dotted_revno_to_revision_id',
 
175
        'bzrlib.tests.per_branch.test_get_revision_id_to_revno_map',
 
176
        'bzrlib.tests.per_branch.test_hooks',
 
177
        'bzrlib.tests.per_branch.test_http',
 
178
        'bzrlib.tests.per_branch.test_iter_merge_sorted_revisions',
 
179
        'bzrlib.tests.per_branch.test_last_revision_info',
 
180
        'bzrlib.tests.per_branch.test_locking',
 
181
        'bzrlib.tests.per_branch.test_parent',
 
182
        'bzrlib.tests.per_branch.test_permissions',
 
183
        'bzrlib.tests.per_branch.test_pull',
 
184
        'bzrlib.tests.per_branch.test_push',
 
185
        'bzrlib.tests.per_branch.test_reconcile',
 
186
        'bzrlib.tests.per_branch.test_revision_history',
 
187
        'bzrlib.tests.per_branch.test_revision_id_to_dotted_revno',
 
188
        'bzrlib.tests.per_branch.test_revision_id_to_revno',
 
189
        'bzrlib.tests.per_branch.test_sprout',
 
190
        'bzrlib.tests.per_branch.test_stacking',
 
191
        'bzrlib.tests.per_branch.test_tags',
 
192
        'bzrlib.tests.per_branch.test_uncommit',
 
193
        'bzrlib.tests.per_branch.test_update',
194
194
        ]
195
 
    sub_tests = loader.loadTestsFromModuleNames(test_branch_implementations)
 
195
    sub_tests = loader.loadTestsFromModuleNames(test_per_branch)
196
196
    return tests.multiply_tests(sub_tests, branch_scenarios(), standard_tests)