'Test behaviour when test flow raises in Start.
A flow that raises in its Start method will kill the EndToEndTest run.
Protecting and reporting on this significantly complicates this code, and a
flow raising in Start is really broken, so we allow this behaviour.'

def testRunBadFlow(self):

    args = endtoend.EndToEndTestFlowArgs(test_names=['MockEndToEndTestBadFlow', 'MockEndToEndTest'])
    self.assertRaises(RuntimeError, list, flow_test_lib.TestFlowHelper(endtoend.EndToEndTestFlow.__name__, self.client_mock, client_id=self.client_id, token=self.token, args=args))
