view autobot/projects/logparser/__init__.py @ 2:a3374cdd116d

stub out more needed for python projects
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 06 Jan 2011 11:28:28 -0800
parents 8e14b6322cc7
children 98bc88ba2d56
line wrap: on
line source

from autobot.process.factory import VirtualenvFactory

class TestLogParserFactory(VirtualenvFactory):
  """
  factory to test the Mozilla log parser:
  http://hg.mozilla.org/automation/logparser/
  """
  def __init__(self):

    # setup the environment
    VirtualenvFactory.__init__(self, name='logparser',
                               hg_sources=['http://hg.mozilla.org/automation/logparser/'])

    # install the python
    # TODO: utilize PythonSourceFactory

    # run the tests