Mercurial > hg > autobot
view autobot/projects/toolbox/__init__.py @ 298:f6dff9fd3f5b
STUB: autobot/projects/toolbox/__init__.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 11 May 2014 09:16:46 -0700 |
parents | 43e472db4353 |
children |
line wrap: on
line source
from autobot.process.factory import PythonSourceFactory from buildbot.steps.shell import ShellCommand from buildbot.steps.shell import WithProperties class TestToolbox(PythonSourceFactory): """ an index of tagged tools """ sources = {'hg': ['http://k0s.org/hg/toolbox'],} def __init__(self): PythonSourceFactory.__init__(self, name='toolbox') # run the tests self.addStep(ShellCommand(command=[WithProperties('%(python)s'), 'test.py'], workdir=WithProperties('%(virtualenv)s/src/toolbox/test'), description='test toolbox'))