# HG changeset patch # User Jeff Hammel # Date 1325119447 28800 # Node ID 8ed63380052e2bbc3b7decc1f980c344606c0d08 # Parent 9d5ec533e8df4c2217a6adaa663b3a6cb9ffaecd use test bot and dont try to connect to irc when testing diff -r 9d5ec533e8df -r 8ed63380052e autobot/projects/autobot/__init__.py --- 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'], diff -r 9d5ec533e8df -r 8ed63380052e autobot/template.py --- 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 ]