97
97
args = ['serve', '--port', 'localhost:0']
98
98
args.extend(extra_options)
99
99
process = self.start_bzr_subprocess(args, skip_if_plan_to_signal=True)
101
101
prefix = 'listening on port: '
102
102
self.assertStartsWith(port_line, prefix)
103
103
port = int(port_line[len(prefix):])