Mercurial > hg > autobot
view autobot/projects/mozmill/__init__.py @ 178:1fb46d94bae6
misplaced parens
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 01 Feb 2011 10:04:51 -0800 |
parents | 98944f934452 |
children | 225f88b6b1d6 |
line wrap: on
line source
from autobot.process.factory import VirtualenvFactory from buildbot.steps.shell import ShellCommand from buildbot.steps.shell import WithProperties class TestMozmillFactory(VirtualenvFactory): """ factory to test Mozmill http://github.com/mozautomation/mozmill """ # VCS sources = {'git': ['http://github.com/mozautomation/mozmill.git']} def __init__(self, firefox_url=None, git=None): # setup the environment VirtualenvFactory.__init__(self, name='mozmill', git=git) self.addStep(ShellCommand(command=[WithProperties('%(python)s'), 'setup_development.py'], workdir=WithProperties('%(virtualenv)s/src/mozmill'), description='setup_development.py' )) # ensure mozmill works at all self.findScript('mozmill') self.addStep(ShellCommand(command=[WithProperties('%(mozmill)s'), '--help'], description='mozmill --help')) # get firefox # [TODO] # run the tests # [TODO]