/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-09 08:45:56 UTC
  • mfrom: (4084.5.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090309084556-9i2m12qlud2qcrtw
(robertc) Bulk update all test adaptation into a single approach
        using multiply_tests rather than many varied test adapters.
        (Robert Collins

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
rather starts again from the run_bzr function.
23
23
"""
24
24
 
25
 
import sys
26
25
 
27
 
from bzrlib.tests import (
28
 
                          adapt_modules,
29
 
                          TestCaseWithTransport,
30
 
                          iter_suite_tests,
31
 
                          )
32
 
from bzrlib.tests.EncodingAdapter import EncodingTestAdapter
33
 
from bzrlib.symbol_versioning import (
34
 
    deprecated_method,
35
 
    )
36
 
import bzrlib.ui as ui
 
26
from bzrlib.tests import TestCaseWithTransport
37
27
 
38
28
 
39
29
def load_tests(basic_tests, module, loader):
87
77
                     'bzrlib.tests.blackbox.test_modified',
88
78
                     'bzrlib.tests.blackbox.test_mv',
89
79
                     'bzrlib.tests.blackbox.test_nick',
 
80
                     'bzrlib.tests.blackbox.test_non_ascii',
90
81
                     'bzrlib.tests.blackbox.test_outside_wt',
91
82
                     'bzrlib.tests.blackbox.test_pack',
92
83
                     'bzrlib.tests.blackbox.test_pull',
125
116
                     ]
126
117
    # add the tests for the sub modules
127
118
    suite.addTests(loader.loadTestsFromModuleNames(testmod_names))
128
 
 
129
 
    test_encodings = [
130
 
        'bzrlib.tests.blackbox.test_non_ascii',
131
 
    ]
132
 
 
133
 
    adapter = EncodingTestAdapter()
134
 
    adapt_modules(test_encodings, adapter, loader, suite)
135
 
 
136
119
    return suite
137
120
 
138
121