

def test_exposes_null_3ds_info_if_none_exists(self):
    http = ClientApiHttp.create()
    (_, nonce) = nonce.get_paypal_nonce({
        'consent-code': 'consent-code',
        'access-token': 'access-token',
        'options': {
            'validate': False,
        },
    })
    found_nonce = PaymentMethodNonce.find(nonce)
    self.assertEquals(nonce, found_nonce.nonce)
    self.assertEquals(None, found_nonce.three_d_secure_info)

dataset/ETHPy150Open braintree/braintree_python/tests/integration/test_payment_method_nonce.py TestPaymentMethodNonce.test_exposes_null_3ds_info_if_none_exists/VarMisuse@24/37 `http`->`nonce`