changeset 188:e15ccc0e1463

its better to add things to the correct ctor
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 01 Feb 2011 21:34:30 -0800
parents bba97450cbc2
children cb9ad0b04140
files autobot/projects/mozmill/__init__.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/projects/mozmill/__init__.py	Tue Feb 01 21:17:00 2011 -0800
+++ b/autobot/projects/mozmill/__init__.py	Tue Feb 01 21:34:30 2011 -0800
@@ -11,11 +11,12 @@
   # VCS
   sources = {'git': ['http://github.com/mozautomation/mozmill.git']}
   
-  def __init__(self, firefox_url=None, git=None):
+  def __init__(self, firefox_url=None, git=None,
+               tests='http://hg.mozilla.org/qa/mozmill-tests'):
 
     # setup the environment
-    VirtualenvFactory.__init__(self, name='mozmill', git=git,
-                               tests='http://hg.mozilla.org/qa/mozmill-tests')
+    VirtualenvFactory.__init__(self, name='mozmill', git=git)
+                               
     # currently, mozmill-tests are dealt with separately here
     # this is to avoid having mozmill depend on them or their changes
     # ideally, these would be even more specifiable