# HG changeset patch # User Jeff Hammel # Date 1294796589 28800 # Node ID 42cdcb431462d45e0c5061e740e3982b41a070f2 # Parent eec9947318661376dbfc9035bd6d32e9e2d17866 some factory tidying diff -r eec994731866 -r 42cdcb431462 autobot/projects/logparser/__init__.py --- a/autobot/projects/logparser/__init__.py Tue Jan 11 17:23:46 2011 -0800 +++ b/autobot/projects/logparser/__init__.py Tue Jan 11 17:43:09 2011 -0800 @@ -14,5 +14,6 @@ hg_sources=['http://hg.mozilla.org/automation/logparser/']) # run the tests - self.addStep(ShellCommand(command=[WithProperties('%(python)s', 'test_logparser.py'], - workdir=WithProperties('%(virtualenv)s/src/logparser/logparser'))) + self.addStep(ShellCommand(command=[WithProperties('%(python)s'), 'test_logparser.py'], + workdir=WithProperties('%(virtualenv)s/src/logparser/logparser'), + description='test logparser')) diff -r eec994731866 -r 42cdcb431462 autobot/projects/mozmill/__init__.py --- a/autobot/projects/mozmill/__init__.py Tue Jan 11 17:23:46 2011 -0800 +++ b/autobot/projects/mozmill/__init__.py Tue Jan 11 17:43:09 2011 -0800 @@ -1,6 +1,6 @@ -from autobot.process.factory import VirtualenvFactory +from autobot.process.factory import PythonSourceFactory -class TestMozmillFactory(VirtualenvFactory): +class TestMozmillFactory(PythonSourceFactory): """ factory to test Mozmill http://github.com/mozautomation/mozmill @@ -8,12 +8,10 @@ def __init__(self): # setup the environment - VirtualenvFactory.__init__(self, name='mozmill', - git_sources=['http://github.com/mozautomation/mozmill']) - - # install the python - # TODO: utilize PythonSourceFactory + PythonSourceFactory.__init__(self, name='mozmill', + git_sources=['http://github.com/mozautomation/mozmill']) # get firefox + # [TODO] # run the tests