~registry/dc3/trunk

« back to all changes in this revision

Viewing changes to dc3-service

  • Committer: Jason Gerard DeRose
  • Date: 2011-08-28 21:19:13 UTC
  • Revision ID: jderose@novacut.com-20110828211913-19ax3pycmpvka3z1
Added --oauth flag to dc3-service for an easy way to trigger the Oneiric

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    help='temporary directory for per-test instances',
42
42
    default=None,
43
43
)
 
44
parser.add_option('--oauth',
 
45
    help='have Microfiber use OAuth, to trigger Oneiric CouchDB bug',
 
46
    action='store_true',
 
47
    default=False,
 
48
)
44
49
(options, args) = parser.parse_args()
45
50
 
46
51
log = logging.getLogger()
120
125
(socket, port) = random_port()
121
126
(env, ini) = prepare_session(port, options.tmp)
122
127
 
 
128
if not options.oauth:  # --oauth will trigger Oneiric OAuth bug
 
129
    env['oauth'] = None
 
130
 
123
131
monitor = Monitor(env, ini)
124
132
socket.close()  # We hold the port till right before handing off to CouchDB
125
133
try: