env:
global:
- - TWITTER_USERNAME="TheTweepyTester"
+ - TWITTER_USERNAME="TweepyDev"
- AWS_BUCKET="tweepy"
- USE_REPLAY=1
- secure: ! 'MZv5O5E5E1074sT14wnRThOeFoDTZy+AdIUy+S6XqY/DMVWF2utSx09GLbvM
from tweepy.auth import OAuthHandler
-username = os.environ.get('TWITTER_USERNAME', 'tweepytest')
+username = os.environ.get('TWITTER_USERNAME', 'TweepyDev')
oauth_consumer_key = os.environ.get('CONSUMER_KEY', '')
oauth_consumer_secret = os.environ.get('CONSUMER_SECRET', '')
oauth_token = os.environ.get('ACCESS_KEY', '')
def testcachedifferentqueryparameters(self):
self.api.cache = MemoryCache()
- user1 = self.api.get_user('TheTweepyTester')
+ user1 = self.api.get_user('TweepyDev')
self.assertFalse(self.api.cached_result)
- self.assertEqual('TheTweepyTester', user1.screen_name)
+ self.assertEqual('TweepyDev', user1.screen_name)
user2 = self.api.get_user('Twitter')
self.assertEqual('Twitter', user2.screen_name)