Exemple #1
0
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'])
Exemple #2
0
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'
Exemple #3
0
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'
Exemple #4
0
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")
Exemple #5
0
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())
Exemple #6
0
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'])