Пример #1
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'
Пример #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'
Пример #3
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")