

def test_is_authorized_with_authorization_fingerprint(self):
    config = Configuration.instantiate()
    client_token = TestHelper.generate_decoded_client_token()
    authorization_fingerprint = json.loads(client_token)['authorizationFingerprint']
    http = ClientApiHttp(config, {
        'authorization_fingerprint': authorization_fingerprint,
        'shared_customer_identifier': 'fake_identifier',
        'shared_customer_identifier_type': 'testing',
    })
    (status_code, response) = http.get_cards()
    self.assertEqual(status_code, 200)

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