From: Harmon Date: Sat, 13 Jul 2019 02:30:49 +0000 (-0500) Subject: Update default test account X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8839e37731a55a2795eb60eca8cd54ec125f2893;p=tweepy.git Update default test account --- diff --git a/.travis.yml b/.travis.yml index 952d4dc..a7525bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ matrix: env: global: - - TWITTER_USERNAME="TheTweepyTester" + - TWITTER_USERNAME="TweepyDev" - AWS_BUCKET="tweepy" - USE_REPLAY=1 - secure: ! 'MZv5O5E5E1074sT14wnRThOeFoDTZy+AdIUy+S6XqY/DMVWF2utSx09GLbvM diff --git a/tests/config.py b/tests/config.py index 9ca122c..f0e487c 100644 --- a/tests/config.py +++ b/tests/config.py @@ -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', '') diff --git a/tests/test_api.py b/tests/test_api.py index 60e7986..1763a87 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -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)