~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2010-12-09 04:26:53 UTC
  • mto: This revision was merged to the branch mainline in revision 5564.
  • Revision ID: mbp@canonical.com-20101209042653-hgy6vkrlfvi1d7rs
Change to using standard load_tests_apply_scenarios.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    urlutils,
26
26
    )
27
27
from bzrlib.tests import EncodingAdapter
28
 
 
29
 
 
30
 
def load_tests(standard_tests, module, loader):
31
 
    return tests.multiply_tests(standard_tests,
32
 
                                EncodingAdapter.encoding_scenarios,
33
 
                                loader.suiteClass())
 
28
from bzrlib.tests.scenarios import load_tests_apply_scenarios
 
29
 
 
30
 
 
31
load_tests = load_tests_apply_scenarios
34
32
 
35
33
 
36
34
class TestNonAscii(tests.TestCaseWithTransport):
37
35
    """Test that bzr handles files/committers/etc which are non-ascii."""
38
36
 
 
37
    scenarios = EncodingAdapter.encoding_scenarios
 
38
 
39
39
    def setUp(self):
40
40
        super(TestNonAscii, self).setUp()
41
41
        self._check_can_encode_paths()