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

index 7f21215f79da3103b17ec49cfedeaa218f0f3851..9f4a80a5d28c77ef9ea360beeef2b4bd049b7db4 100644 (file)
@@ -178,7 +178,7 @@ class TweepyAPITests(TweepyTestCase):
 
     @tape.use_cassette('testfriends.json')
     def testfriends(self):
-        self.api.friends(username)
+        self.api.friends(screen_name=username)
 
     @tape.use_cassette('testfollowers.json')
     def testfollowers(self):