root/galaxy-central/eggs/nose-0.11.1-py2.6.egg/nose/plugins/builtin.py

リビジョン 3, 1.0 KB (コミッタ: kohda, 14 年 前)

Install Unix tools  http://hannonlab.cshl.edu/galaxy_unix_tools/galaxy.html

行番号 
1"""
2Lists builtin plugins.
3"""
4plugins = []
5builtins = (
6    ('nose.plugins.attrib', 'AttributeSelector'),
7    ('nose.plugins.capture', 'Capture'),
8    ('nose.plugins.logcapture', 'LogCapture'),
9    ('nose.plugins.cover', 'Coverage'),
10    ('nose.plugins.debug', 'Pdb'),
11    ('nose.plugins.deprecated', 'Deprecated'),
12    ('nose.plugins.doctests', 'Doctest'),
13    ('nose.plugins.isolate', 'IsolationPlugin'),
14    ('nose.plugins.failuredetail', 'FailureDetail'),
15    ('nose.plugins.prof', 'Profile'),
16    ('nose.plugins.skip', 'Skip'),
17    ('nose.plugins.testid', 'TestId'),
18    ('nose.plugins.multiprocess', 'MultiProcess'),
19    ('nose.plugins.xunit', 'Xunit'),
20    ('nose.plugins.allmodules', 'AllModules'),
21    ('nose.plugins.collect', 'CollectOnly'),
22    )
23
24for module, cls in builtins:
25    try:
26        plugmod = __import__(module, globals(), locals(), [cls])
27    except KeyboardInterrupt:
28        raise
29    except:
30        continue
31    plug = getattr(plugmod, cls)
32    plugins.append(plug)
33    globals()[cls] = plug
34
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。