<commit_before># -*- coding: utf-8 -*-
import pytest
import tweepy
import vcr

from secrets import TWITTER_ACCESS, TWITTER_SECRET
from secrets import CONSUMER_KEY, CONSUMER_SECRET


class TestTweepyIntegration():
    """Test class to ensure tweepy functionality works as expected"""
    # Class level client to use across tests
    auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
    auth.set_access_token(TWITTER_ACCESS, TWITTER_SECRET)

    @vcr.use_cassette('fixtures/vcr_cassettes/twitter.yaml')
    def test_authd(self):
        api = tweepy.API(self.auth)
        assert api.verify_credentials() is not False

if __name__ == '__main__':
    pytest.main()<commit_msg>Update access token variable names<commit_after># -*- coding: utf-8 -*-
import pytest
import tweepy
import vcr

from secrets import TWITTER_ACCESS, TWITTER_SECRET
from secrets import TWITTER_CONSUMER_ACCESS, TWITTER_CONSUMER_SECRET


class TestTweepyIntegration():
    """Test class to ensure tweepy functionality works as expected"""
    # Class level client to use across tests
    auth = tweepy.OAuthHandler(TWITTER_CONSUMER_ACCESS, TWITTER_CONSUMER_SECRET)
    auth.set_access_token(TWITTER_ACCESS, TWITTER_SECRET)

    @vcr.use_cassette('fixtures/vcr_cassettes/twitter.yaml')
    def test_authd(self):
        api = tweepy.API(self.auth)
        assert api.verify_credentials() is not False

if __name__ == '__main__':
    pytest.main()
{'fraction_non_alphanumeric': 0.08573436401967674, 'fraction_numerical': 0.0014054813773717498, 'mean_word_length': 4.584313725490196, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2844126', 'n_tokens_mistral': 509, 'n_tokens_neox': 488, 'n_words': 115}