# HG changeset patch # User Jeff Hammel # Date 1294873268 28800 # Node ID 4ed9a96dbb820bfe6e89f1f015981f3a695e3664 # Parent e806a9c1dc4f3ac1748fd34cec54fe8cb9f40b29 fix some test harnesses diff -r e806a9c1dc4f -r 4ed9a96dbb82 autobot/projects/autobot/__init__.py --- a/autobot/projects/autobot/__init__.py Wed Jan 12 14:20:44 2011 -0800 +++ b/autobot/projects/autobot/__init__.py Wed Jan 12 15:01:08 2011 -0800 @@ -25,7 +25,7 @@ # make a master, slave pair self.addStep(ShellCommand(command=[WithProperties('%(create-autobot)s'), '-f', '-', # all factories, - 'bot'] + 'bot'], description="make an autobot", workdir=WithProperties('%(virtualenv)s'))) diff -r e806a9c1dc4f -r 4ed9a96dbb82 autobot/projects/mozmill/__init__.py --- a/autobot/projects/mozmill/__init__.py Wed Jan 12 14:20:44 2011 -0800 +++ b/autobot/projects/mozmill/__init__.py Wed Jan 12 15:01:08 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 TestMozmillFactory(VirtualenvFactory): """ @@ -10,8 +12,8 @@ # setup the environment VirtualenvFactory.__init__(self, name='mozmill', git_sources=['http://github.com/mozautomation/mozmill']) - set.addStep(ShellCommand(command=['bash', 'setup_development.sh'], - workdir=WithProperites('%(virtualenv)s/src/mozmill'))) + self.addStep(ShellCommand(command=['bash', 'setup_development.sh'], + workdir=WithProperties('%(virtualenv)s/src/mozmill'))) # get firefox # [TODO]