Skip to content

Commit 4f6ee9c

Browse files
author
Michael
committed
fixing tweepy exception invalid pagnination method
1 parent f31e725 commit 4f6ee9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

04/test_usertweets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def read_csv(fname):
2626
class TestUserTweets(unittest.TestCase):
2727
def setUp(self):
2828
super().setUp()
29-
with patch('tweepy.API.user_timeline') as mock_timeline:
29+
with patch('tweepy.API') as mock_timeline:
3030
mock_timeline.return_value = TWEETS
3131
self.user = UserTweets(HANDLE, max_id=MAX_ID)
3232

0 commit comments

Comments
 (0)