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