Ejemplo n.º 1
0
def test_uma_rp_authorize_rpt_throws_errors():
    c = Client(uma_config)
    rpt = 'invalid_rpt'
    ticket = 'invalid_ticket'
    response = c.uma_rp_authorize_rpt(rpt, ticket)
    assert_equal(response.status, 'error')
Ejemplo n.º 2
0
def test_uma_rp_authorize_rpt_throws_errors():
    c = Client(uma_config)
    rpt = "invalid_rpt"
    ticket = "invalid_ticket"
    response = c.uma_rp_authorize_rpt(rpt, ticket)
    assert_equal(response.status, "error")
Ejemplo n.º 3
0
def test_uma_rp_authorize_rpt():
    c = Client(uma_config)
    rpt = 'dummy_rpt'
    ticket = 'dummy_ticket'
    status = c.uma_rp_authorize_rpt(rpt, ticket)
    assert_true(status)
Ejemplo n.º 4
0
def test_uma_rp_authorize_rpt():
    c = Client(uma_config)
    rpt = "dummy_rpt"
    ticket = "dummy_ticket"
    status = c.uma_rp_authorize_rpt(rpt, ticket)
    assert_true(status)