def test_session_init(): sh = SessionHandler(profiles, "C.T.T.T", flow_state, oper, tool_conf={'profile': 'C.T.T.T'}) sh.session_init() assert len(sh['tests']) == 54 assert len(list(flow_state.keys())) > len(sh['tests'])
def test_session_setup(): sh = SessionHandler(profiles, "C.T.T.T", flow_state, oper, tool_conf={'profile': 'C.T.T.T'}) sh.session_init() sh.session_setup(path="OP-claims-sub") assert sh['testid'] == "OP-claims-sub" assert len(sh['sequence']) == 10 assert sh['index'] == 0 assert sh['flow']['group'] == 'claims Request Parameter'
def test_session_setup(): sh = SessionHandler(profiles, "C.T.T.T", flows.FLOWS, oper) sh.session_init() sh.session_setup(path="rp-discovery-webfinger_acct")
def test_session_init(): sh = SessionHandler(profiles, "C.T.T.T", flows.FLOWS, oper) sh.session_init() # Make sure all flows got in there assert _eq(sh["flow_names"], flows.FLOWS.keys())
def test_session_init(): sh = SessionHandler(profiles, "C.T.T.T", flow_state, oper, tool_conf={'profile': 'C.T.T.T'}) sh.session_init() assert len(sh['tests']) == 61 assert len(list(flow_state.keys())) > len(sh['tests'])