run_tests.py: make test runner accepts plugins

With this changeset, useful plugins are available
for unit test. Thus we can use debugger for unit tests with
say, --pdb, --pudb, ...
This commit is contained in:
Isaku Yamahata 2011-06-30 13:00:06 +09:00
commit e263b1cc5f

View File

@ -280,7 +280,8 @@ if __name__ == '__main__':
c = config.Config(stream=sys.stdout,
env=os.environ,
verbosity=3)
verbosity=3,
plugins=core.DefaultPluginManager())
runner = GlanceTestRunner(stream=c.stream,
verbosity=c.verbosity,