# HG changeset patch # User Jeff Hammel # Date 1294783201 28800 # Node ID a1568668175c511add76231b0848e2b0c99025b1 # Parent f8dccf3377d96d3f72ae83421b35ad8e2dbc9e41 make the autobot project possibly do something diff -r f8dccf3377d9 -r a1568668175c autobot/projects/__init__.py --- a/autobot/projects/__init__.py Tue Jan 11 13:01:41 2011 -0800 +++ b/autobot/projects/__init__.py Tue Jan 11 14:00:01 2011 -0800 @@ -17,7 +17,7 @@ from mozmill import TestMozmillFactory # available factories:: -# import these automagically: requires non-zipped eggs +# import these automagically; requires non-zipped eggs factories = {} descriptions = {} here = os.path.dirname(os.path.abspath(__file__)) diff -r f8dccf3377d9 -r a1568668175c autobot/projects/autobot/__init__.py --- a/autobot/projects/autobot/__init__.py Tue Jan 11 13:01:41 2011 -0800 +++ b/autobot/projects/autobot/__init__.py Tue Jan 11 14:00:01 2011 -0800 @@ -1,16 +1,14 @@ -from autobot.process.factory import VirtualenvFactory +from autobot.process.factory import PythonSourceFactory -class TestAutobotFactory(VirtualenvFactory): +class TestAutobotFactory(PythonSourceFactory): """ factory to test autobot """ def __init__(self): # setup the environment - VirtualenvFactory.__init__(self, name='autobot', - hg_sources=['TODO']) - - # install the python - # TODO: utilize PythonSourceFactory + PythonSourceFactory.__init__(self, name='autobot', + hg_sources=['http://k0s.org/mozilla/hg/autobot']) # run the tests + # [TODO]