changeset 71:a1568668175c

make the autobot project possibly do something
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 11 Jan 2011 14:00:01 -0800
parents f8dccf3377d9
children 4e5fe6883fd9
files autobot/projects/__init__.py autobot/projects/autobot/__init__.py
diffstat 2 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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__))
--- 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]