description='run the tmss_slack_webhook_service which listens for TMSS event messages on the messagebus, and posts the updates on the slack webhook api.')
parser=OptionParser('%prog [options]',
description='run the tmss_slack_webhook_service which listens for TMSS event messages on the messagebus, and posts the updates on the slack webhook api.')
parser.add_option('-n','--num_targets',dest='num_targets',type='int',default=-1,help='read at most this many targets (or all if -1), default: %default')
parser.add_option('-s','--simulate',dest='simulate',action='store_true',help='simulate a run for each unit, allowing the scheduler to schedule the next unit when one finishes')
group=OptionGroup(parser,'TMSS Test Environment options',description='Run this acceptance test against a fresh TMSSTestEnvironment a running one (specfied by -C).')
parser.add_option_group(group)
group=OptionGroup(parser,'TMSS Test Environment options',description='Run this acceptance test against a fresh TMSSTestEnvironment a running one (specfied by -C).')
group.add_option('--wipe',dest='wipe',action='store_true',help='wipe all scheduling units in the fresh/existing TMSS instance. Only available when developing.')
group.add_option('--wipe',dest='wipe',action='store_true',help='wipe all scheduling units in the fresh/existing TMSS instance. Only available when developing.')