~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2006-06-20 07:55:43 UTC
  • mfrom: (1798 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1799.
  • Revision ID: mbp@sourcefrog.net-20060620075543-b10f6575d4a4fa32
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import sys
27
27
 
28
28
from bzrlib.tests import (
 
29
                          adapt_modules,
29
30
                          TestCaseWithTransport,
30
31
                          TestSuite,
31
32
                          TestLoader,
 
33
                          iter_suite_tests,
32
34
                          )
 
35
from bzrlib.tests.EncodingAdapter import EncodingTestAdapter
33
36
import bzrlib.ui as ui
34
37
 
35
38
 
43
46
                     'bzrlib.tests.blackbox.test_branch',
44
47
                     'bzrlib.tests.blackbox.test_break_lock',
45
48
                     'bzrlib.tests.blackbox.test_bound_branches',
 
49
                     'bzrlib.tests.blackbox.test_bundle',
46
50
                     'bzrlib.tests.blackbox.test_cat',
47
51
                     'bzrlib.tests.blackbox.test_checkout',
 
52
                     'bzrlib.tests.blackbox.test_command_encoding',
48
53
                     'bzrlib.tests.blackbox.test_commit',
49
54
                     'bzrlib.tests.blackbox.test_conflicts',
50
55
                     'bzrlib.tests.blackbox.test_diff',
 
56
                     'bzrlib.tests.blackbox.test_exceptions',
51
57
                     'bzrlib.tests.blackbox.test_export',
52
58
                     'bzrlib.tests.blackbox.test_find_merge_base',
53
59
                     'bzrlib.tests.blackbox.test_help',
66
72
                     'bzrlib.tests.blackbox.test_re_sign',
67
73
                     'bzrlib.tests.blackbox.test_revert',
68
74
                     'bzrlib.tests.blackbox.test_revno',
 
75
                     'bzrlib.tests.blackbox.test_revision_history',
69
76
                     'bzrlib.tests.blackbox.test_revision_info',
70
77
                     'bzrlib.tests.blackbox.test_selftest',
71
78
                     'bzrlib.tests.blackbox.test_shared_repository',
77
84
                     'bzrlib.tests.blackbox.test_upgrade',
78
85
                     'bzrlib.tests.blackbox.test_versioning',
79
86
                     ]
 
87
    test_encodings = [
 
88
        'bzrlib.tests.blackbox.test_non_ascii',
 
89
    ]
80
90
 
81
91
    loader = TestLoader()
82
 
    return loader.loadTestsFromModuleNames(testmod_names)
 
92
    suite = loader.loadTestsFromModuleNames(testmod_names) 
 
93
 
 
94
    adapter = EncodingTestAdapter()
 
95
    adapt_modules(test_encodings, adapter, loader, suite)
 
96
 
 
97
    return suite
83
98
 
84
99
 
85
100
class ExternalBase(TestCaseWithTransport):