

def test_can_pass_sepa_params(self):
    result = braintree.Customer.create()
    customer_id = result.customer.id
    client_token = TestHelper.generate_decoded_client_token({
        'customer_id': customer_id,
        'sepa_mandate_acceptance_location': 'Hamburg, Germany',
        'sepa_mandate_type': EuropeBankAccount.MandateType.Business,
    })
    authorization_fingerprint = json.loads(client_token)['authorizationFingerprint']
    self.assertNotEqual(authorization_fingerprint, None)

dataset/ETHPy150Open braintree/braintree_python/tests/integration/test_client_token.py TestClientToken.test_can_pass_sepa_params/original