Example #1
0
def test_2path_2():
    m = extract_mode(
        'foobar/rp-id_token-bad_c_hash/_/_/ch/normal/.well-known/openid'
        '-configuration')

    path = mode2path(m[0])

    assert path == 'foobar/rp-id_token-bad_c_hash/_/_/ch/normal'
Example #2
0
def test_2path_2():
    m = extract_mode(
        'foobar/rp-id_token-bad_c_hash/_/_/ch/normal/.well-known/openid'
        '-configuration')

    path = mode2path(m[0])

    assert path == 'foobar/rp-id_token-bad_c_hash/_/_/ch/normal'
Example #3
0
def test_2path_1():
    m = extract_mode('/foobar/RP-id_token-bad_c_hash')
    path = mode2path(m[0])

    assert path == 'foobar/rp-id_token-bad_c_hash/_/_/_/normal'
Example #4
0
def test_2path_1():
    m = extract_mode('/foobar/RP-id_token-bad_c_hash')
    path = mode2path(m[0])

    assert path == 'foobar/rp-id_token-bad_c_hash/_/_/_/normal'