# HG changeset patch # User Jeff Hammel # Date 1294688691 28800 # Node ID 98bc88ba2d5675f90a0ad024fcc97c6607f32e02 # Parent ddcc1f5491aa1e3c30e8c691cef2f199a3e8dcaf pretend were running tests diff -r ddcc1f5491aa -r 98bc88ba2d56 autobot/projects/logparser/__init__.py --- 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'))