Mercurial > hg > autobot
changeset 47:98bc88ba2d56
pretend were running tests
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 10 Jan 2011 11:44:51 -0800 |
parents | ddcc1f5491aa |
children | 0e014622ac1e |
files | autobot/projects/logparser/__init__.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/autobot/projects/logparser/__init__.py Mon Jan 10 11:35:49 2011 -0800 +++ b/autobot/projects/logparser/__init__.py Mon Jan 10 11:44:51 2011 -0800 @@ -1,4 +1,6 @@ from autobot.process.factory import VirtualenvFactory +from buildbot.steps.shell import ShellCommand +from buildbot.steps.shell import WithProperties class TestLogParserFactory(VirtualenvFactory): """ @@ -15,3 +17,5 @@ # TODO: utilize PythonSourceFactory # run the tests + self.addStep(ShellCommand(command=['python'], + workdir=WithProperties('%(virtualenv)s/src/logparser/logparser'))