Mercurial > hg > autobot
annotate 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 |
| rev | line source |
|---|---|
| 222 | 1 from autobot.process.factory import PythonSourceFactory |
| 2 from buildbot.steps.shell import ShellCommand | |
| 3 from buildbot.steps.shell import WithProperties | |
| 4 | |
| 5 class TestToolbox(PythonSourceFactory): | |
| 6 """ | |
|
298
f6dff9fd3f5b
STUB: autobot/projects/toolbox/__init__.py
Jeff Hammel <k0scist@gmail.com>
parents:
297
diff
changeset
|
7 an index of tagged tools |
| 222 | 8 """ |
| 9 | |
|
297
43e472db4353
STUB: autobot/projects/__init__.py autobot/projects/toolbox/__init__.py
Jeff Hammel <k0scist@gmail.com>
parents:
296
diff
changeset
|
10 sources = {'hg': ['http://k0s.org/hg/toolbox'],} |
|
296
3fb63aa336b3
STUB: autobot/projects/toolbox/__init__.py
Jeff Hammel <k0scist@gmail.com>
parents:
223
diff
changeset
|
11 |
| 222 | 12 def __init__(self): |
| 13 PythonSourceFactory.__init__(self, name='toolbox') | |
| 14 | |
| 15 # run the tests | |
|
223
91f4a20285bc
interpolate only the string you care about
Jeff Hammel <jhammel@mozilla.com>
parents:
222
diff
changeset
|
16 self.addStep(ShellCommand(command=[WithProperties('%(python)s'), 'test.py'], |
| 222 | 17 workdir=WithProperties('%(virtualenv)s/src/toolbox/test'), |
| 18 description='test toolbox')) |
