Update test using API.followers to pass keyword argument
authorHarmon <Harmon758@gmail.com>
Fri, 12 Feb 2021 23:43:04 +0000 (17:43 -0600)
committerHarmon <Harmon758@gmail.com>
Fri, 12 Feb 2021 23:43:04 +0000 (17:43 -0600)
tests/test_api.py

index 9fee319915893f25e2ab4fd445efda5ebea0b3d3..5f819ebc99e5d1d933aeb85460dfee758671fc6f 100644 (file)
@@ -182,7 +182,7 @@ class TweepyAPITests(TweepyTestCase):
 
     @tape.use_cassette('testfollowers.json')
     def testfollowers(self):
-        self.api.followers(username)
+        self.api.followers(screen_name=username)
 
     @tape.use_cassette('testverifycredentials.json')
     def testverifycredentials(self):