Пример #1
0
def apigen_runner(item, session, reporter):
    #retval = plain_runner(item, session, reporter)
    startcapture(session)
    r = ApigenExecutor(item, reporter=reporter, config=session.config)
    outcome = r.execute(session.tracer)
    outcome = ReprOutcome(outcome.make_repr(session.config.option.tbstyle))
    outcome.stdout, outcome.stderr = finishcapture(session)
    return outcome
Пример #2
0
def plain_runner(item, session, reporter):
    r = RunExecutor(item, usepdb=session.config.option.usepdb, reporter=reporter, config=session.config)
    outcome = r.execute()
    outcome = ReprOutcome(outcome.make_repr(session.config.option.tbstyle))
    return outcome