view autobot/projects/mozbase/__init__.py @ 227:90f4028d9455

correct import statement
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 29 Nov 2011 20:04:05 -0800
parents dd5ab8b3d94b
children d8172a7ba4b2
line wrap: on
line source

from autobot.process.factory import VirtualenvFactory
from buildbot.steps.shell import ShellCommand
from buildbot.steps.shell import WithProperties

class TestMozbase(VirtualenvFactory):
    """
    Base utilties for mozilla test harnesses:
    https://github.com/mozilla/mozbase
    """

    sources = {'git': ['https://github.com/mozilla/mozbase'],
               'hg': []}

    def __init__(self, platform=None):
        SourceFactory.__init__(self)

        # checkout the repositories
        self.checkout()

        # run the tests [TODO]