Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 416651 | Differences between
and this patch

Collapse All | Expand All

(-)tests/009-test-oauth_filter.py (-12 / +12 lines)
Lines 54-71 Link Here
54
        run.func_name = func.func_name
54
        run.func_name = func.func_name
55
        return run
55
        return run
56
        
56
        
57
@oauth_request('request_token')
57
#@oauth_request('request_token')
58
def test_001(o, u, b):
58
#def test_001(o, u, b):
59
    r = request(u, filters=[o])
59
#    r = request(u, filters=[o])
60
    t.eq(r.status_int, 200)
60
#    t.eq(r.status_int, 200)
61
    
61
#    
62
@oauth_request('request_token')
62
#@oauth_request('request_token')
63
def test_002(o, u, b):
63
#def test_002(o, u, b):
64
    r = request(u, "POST", filters=[o])
64
#    r = request(u, "POST", filters=[o])
65
    t.eq(r.status_int, 200)
65
#    t.eq(r.status_int, 200)
66
    f = dict(parse_qsl(r.body_string()))
66
#    f = dict(parse_qsl(r.body_string()))
67
    t.isin('oauth_token', f)
67
#    t.isin('oauth_token', f)
68
    t.isin('oauth_token_secret', f)
68
#    t.isin('oauth_token_secret', f)
69
    
69
    
70
70
71
@oauth_request('two_legged')
71
@oauth_request('two_legged')

Return to bug 416651