示例#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'])
示例#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",
                        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'
示例#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")
示例#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())
示例#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'])