changeset 258:8ed63380052e

use test bot and dont try to connect to irc when testing
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 28 Dec 2011 16:44:07 -0800
parents 9d5ec533e8df
children aa36f82313f1
files autobot/projects/autobot/__init__.py autobot/template.py
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/projects/autobot/__init__.py	Wed Dec 28 13:10:31 2011 -0800
+++ b/autobot/projects/autobot/__init__.py	Wed Dec 28 16:44:07 2011 -0800
@@ -27,6 +27,7 @@
     # make a master, slave pair
     self.addStep(ShellCommand(command=[WithProperties('%(create-autobot)s'),
                                        '-f', '-', # all factories,
+                                       '--ircChannels', '', # no channels
                                        '--slaveport', str(slaveport),
                                        '--htmlport', str(htmlport),
                                        'bot'],
--- a/autobot/template.py	Wed Dec 28 13:10:31 2011 -0800
+++ b/autobot/template.py	Wed Dec 28 16:44:07 2011 -0800
@@ -52,7 +52,7 @@
             Variable('slaveport', 'port to talk to slaves on', default=9010, cast=int),
             Variable('htmlport', 'port for waterfall display', default=8010, cast=int),
             Variable('publichtmlport', 'port for public waterfall display', default=8011, cast=int),
-            Variable('botname', 'name of IRC bot', default='autobot'),
+            Variable('botname', 'name of IRC bot', default='autobot-test'), # use autobot in production
             Variable('ircHost', 'IRC host', default='irc.mozilla.org'),
             Variable('ircChannels', 'channels for the IRC bot', default='#ateam-test') # use #ateam in production
             ]