~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-08 06:38:32 UTC
  • mfrom: (1685.1.81 encoding)
  • Revision ID: pqm@pqm.ubuntu.com-20060608063832-74b46cf8fdd4567a
(jam,mbp,wvh) Lots of updates to unicode,url,and encoding support

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
 
45
48
                     'bzrlib.tests.blackbox.test_bound_branches',
46
49
                     'bzrlib.tests.blackbox.test_cat',
47
50
                     'bzrlib.tests.blackbox.test_checkout',
 
51
                     'bzrlib.tests.blackbox.test_command_encoding',
48
52
                     'bzrlib.tests.blackbox.test_commit',
49
53
                     'bzrlib.tests.blackbox.test_conflicts',
50
54
                     'bzrlib.tests.blackbox.test_diff',
77
81
                     'bzrlib.tests.blackbox.test_upgrade',
78
82
                     'bzrlib.tests.blackbox.test_versioning',
79
83
                     ]
 
84
    test_encodings = [
 
85
        'bzrlib.tests.blackbox.test_non_ascii',
 
86
    ]
80
87
 
81
88
    loader = TestLoader()
82
 
    return loader.loadTestsFromModuleNames(testmod_names)
 
89
    suite = loader.loadTestsFromModuleNames(testmod_names) 
 
90
 
 
91
    adapter = EncodingTestAdapter()
 
92
    adapt_modules(test_encodings, adapter, loader, suite)
 
93
 
 
94
    return suite
83
95
 
84
96
 
85
97
class ExternalBase(TestCaseWithTransport):