def test_pipelining_running(self): args = argparse.Namespace(test=True, export=None, no_pipelining=False, report=False) session = pipelining.main(args) parsed_report = json.loads(session.getExecutionReport()) pytest.pipelining_cycles = parsed_report['simulation']['cycles']
def test_pipelining_running(self): args = argparse.Namespace(test=True, export=None, no_pipelining=False, report=False) session = pipelining.main(args) parsed_report = json.loads(session.getExecutionReport()) cycles = parsed_report['simulation']['cycles'] print(f"\nRunning the model with pipelining took {cycles} cycles.")