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'
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'