Update default test account
authorHarmon <Harmon758@gmail.com>
Sat, 13 Jul 2019 02:30:49 +0000 (21:30 -0500)
committerHarmon <Harmon758@gmail.com>
Sat, 13 Jul 2019 02:39:18 +0000 (21:39 -0500)
.travis.yml
tests/config.py
tests/test_api.py

index 952d4dcf51aa1e0e19385991cc885f908e1e9a98..a7525bb055b78012d5e0fcf79000b51c4c3515be 100644 (file)
@@ -14,7 +14,7 @@ matrix:
 
 env:
   global:
-  - TWITTER_USERNAME="TheTweepyTester"
+  - TWITTER_USERNAME="TweepyDev"
   - AWS_BUCKET="tweepy"
   - USE_REPLAY=1
   - secure: ! 'MZv5O5E5E1074sT14wnRThOeFoDTZy+AdIUy+S6XqY/DMVWF2utSx09GLbvM
index 9ca122cd60e78e6a345c626ab37fcd8cc4be5b25..f0e487c4194e2fb0dd2557668811d668b33d3aec 100644 (file)
@@ -7,7 +7,7 @@ from tweepy.api import API
 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', '')
index 60e7986d5333f9ff260b698f77aea5a7664d0e87..1763a87561e0c472da3a610eebc6bb5d86f40ac3 100644 (file)
@@ -415,9 +415,9 @@ class TweepyAPITests(TweepyTestCase):
     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)