Beispiel #1
0
def test_risk_mfa():
    client = Client('test_id', 'test_secret')
    response = client.risk('bofa', no_mfa_credentials)
    assert response.status_code == 201
    assert to_json(response)['type'] == 'questions'
Beispiel #2
0
def test_risk_mfa():
    client = Client('test_id', 'test_secret')
    response = client.risk('bofa', no_mfa_credentials)
    assert response.status_code == 201
    assert to_json(response)['type'] == 'questions'
Beispiel #3
0
def test_risk_no_mfa():
    client = Client('test_id', 'test_secret')
    response = client.risk('wells', no_mfa_credentials)
    assert to_json(response)['access_token'] == 'test_wells'
Beispiel #4
0
def test_risk_no_mfa():
    client = Client('test_id', 'test_secret')
    response = client.risk('wells', no_mfa_credentials)
    assert to_json(response)['access_token'] == 'test_wells'