def test_auth_mfa(): client = Client('test_id', 'test_secret') response = client.auth('pnc', no_mfa_credentials) assert response.status_code == 201 assert to_json(response)['type'] == 'questions'
def test_auth_no_mfa(): client = Client('test_id', 'test_secret') response = client.auth('wells', no_mfa_credentials) assert to_json(response)['access_token'] == 'test_wells'