Пример #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')
Пример #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")
Пример #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)
Пример #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)