From 5fd3bed281018a556cfd6305670317bf5acb2a16 Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 19 May 2021 07:43:35 -0500 Subject: [PATCH] Update consumer key and secret usage in auth tests --- tests/test_auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_auth.py b/tests/test_auth.py index c1dfb00..5f875ef 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -8,7 +8,7 @@ from tweepy import API, OAuthHandler class TweepyAuthTests(unittest.TestCase): def testoauth(self): - auth = OAuthHandler(oauth_consumer_key, oauth_consumer_secret) + auth = OAuthHandler(consumer_key, consumer_secret) # test getting access token auth_url = auth.get_authorization_url() @@ -24,7 +24,7 @@ class TweepyAuthTests(unittest.TestCase): api.destroy_status(s.id) def testaccesstype(self): - auth = OAuthHandler(oauth_consumer_key, oauth_consumer_secret) + auth = OAuthHandler(consumer_key, consumer_secret) auth_url = auth.get_authorization_url(access_type='read') print('Please open: ' + auth_url) answer = input('Did Twitter only request read permissions? (y/n) ') -- 2.25.1