<commit_before>import unittest
from bluefin.dataretrieval.clients import V1Client
from bluefin.dataretrieval.exceptions import V1ClientInputException, V1ClientProcessingException
from tests.api_details import API_DETAILS, TEST_CARD

class TransactionReportingTest(unittest.TestCase):
    """
    Tests for transaction reporting API calls.
    """
    def test_basic(self):
        """
        Test a basic successful API call.
        """
        api = V1Client()
        api.send_request({
            'transactions_after': '2006-12-30',
            'account_id': API_DETAILS['account_id'],
            'authorization': '<KEY>',
        })

    def test_no_input(self):

        api = V1Client()
        self.assertRaises(V1ClientInputException, api.send_request, {})

<commit_msg>Use the new auth keyword set by Ligonier. We're working now.<commit_after>import unittest
from bluefin.dataretrieval.clients import V1Client
from bluefin.dataretrieval.exceptions import V1ClientInputException, V1ClientProcessingException
from tests.api_details import API_DETAILS, TEST_CARD

class TransactionReportingTest(unittest.TestCase):
    """
    Tests for transaction reporting API calls.
    """
    def test_basic(self):
        """
        Test a basic successful API call.
        """
        api = V1Client()
        result = api.send_request({
            'transactions_after': '2006-12-30',
            'account_id': API_DETAILS['account_id'],
            'authorization': 'LIGONIER_DOT_ORG',
        })
        print result

    def test_no_input(self):

        api = V1Client()
        self.assertRaises(V1ClientInputException, api.send_request, {})


{'fraction_non_alphanumeric': 0.09443099273607748, 'fraction_numerical': 0.01694915254237288, 'mean_word_length': 3.041564792176039, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6409681', 'n_tokens_mistral': 496, 'n_tokens_neox': 477, 'n_words': 107}