~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_transport.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-11 04:02:41 UTC
  • mfrom: (5017.2.2 tariff)
  • Revision ID: pqm@pqm.ubuntu.com-20100211040241-w6n021dz0uus341n
(mbp) add import-tariff tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
            permutations = get_transport_test_permutations(
80
80
                reduce(getattr, (module).split('.')[1:], __import__(module)))
81
81
            for (klass, server_factory) in permutations:
82
 
                scenario = (server_factory.__name__,
 
82
                scenario = ('%s,%s' % (klass.__name__, server_factory.__name__),
83
83
                    {"transport_class":klass,
84
84
                     "transport_server":server_factory})
85
85
                result.append(scenario)
1497
1497
                 u'\u65e5', # Kanji person
1498
1498
                ]
1499
1499
 
 
1500
        no_unicode_support = getattr(self._server, 'no_unicode_support', False)
 
1501
        if no_unicode_support:
 
1502
            raise tests.KnownFailure("test server cannot handle unicode paths")
 
1503
 
1500
1504
        try:
1501
1505
            self.build_tree(files, transport=t, line_endings='binary')
1502
1506
        except UnicodeError: