2650
2651
'bzrlib.tests.test_deprecated_graph',
2651
2652
'bzrlib.tests.test_diff',
2652
2653
'bzrlib.tests.test_dirstate',
2654
'bzrlib.tests.test_directory_service',
2653
2655
'bzrlib.tests.test_email_message',
2654
2656
'bzrlib.tests.test_errors',
2655
2657
'bzrlib.tests.test_escaped_store',
2815
2817
suite.addTest(doc_suite)
2817
2819
default_encoding = sys.getdefaultencoding()
2818
for name, plugin in [(n, p) for (n, p) in bzrlib.plugin.plugins().items()
2819
if (keep_only is None
2820
or id_filter.is_module_name_used(
2821
p.module.__name__))]:
2823
plugin_suite = plugin.test_suite()
2824
except ImportError, e:
2825
bzrlib.trace.warning(
2826
'Unable to test plugin "%s": %s', name, e)
2828
if plugin_suite is not None:
2829
if keep_only is not None:
2830
plugin_suite = filter_suite_by_id_list(plugin_suite,
2832
suite.addTest(plugin_suite)
2820
for name, plugin in bzrlib.plugin.plugins().items():
2821
if keep_only is not None:
2822
if not id_filter.is_module_name_used(plugin.module.__name__):
2824
plugin_suite = plugin.test_suite()
2825
# We used to catch ImportError here and turn it into just a warning,
2826
# but really if you don't have --no-plugins this should be a failure.
2827
# mbp 20080213 - see http://bugs.launchpad.net/bugs/189771
2828
if plugin_suite is not None:
2829
if keep_only is not None:
2830
plugin_suite = filter_suite_by_id_list(plugin_suite,
2832
suite.addTest(plugin_suite)
2833
2833
if default_encoding != sys.getdefaultencoding():
2834
2834
bzrlib.trace.warning(
2835
2835
'Plugin "%s" tried to reset default encoding to: %s', name,
2969
2969
SymlinkFeature = _SymlinkFeature()
2972
class _HardlinkFeature(Feature):
2975
return osutils.has_hardlinks()
2977
def feature_name(self):
2980
HardlinkFeature = _HardlinkFeature()
2972
2983
class _OsFifoFeature(Feature):
2974
2985
def _probe(self):