def test_income_mfa(): client = Client('test_id', 'test_secret') response = client.income('bofa', no_mfa_credentials) assert response.status_code == 201 assert to_json(response)['type'] == 'questions'
def test_income_no_mfa(): client = Client('test_id', 'test_secret') response = client.income('wells', no_mfa_credentials) assert to_json(response)['access_token'] == 'test_wells'