Update test using API.list_subscribers to pass keyword arguments
authorHarmon <Harmon758@gmail.com>
Mon, 15 Feb 2021 07:59:24 +0000 (01:59 -0600)
committerHarmon <Harmon758@gmail.com>
Mon, 15 Feb 2021 07:59:24 +0000 (01:59 -0600)
tests/test_api.py

index df080f79e145e5312301294365a4ad4805714ee8..df2742ba2fceec6c4f636d13429f8f5c5aca0423 100644 (file)
@@ -348,7 +348,7 @@ class TweepyAPITests(TweepyTestCase):
 
     @tape.use_cassette('testlistsubscribers.json')
     def testlistsubscribers(self):
-        self.api.list_subscribers('Twitter', 'Official-Twitter-Accounts')
+        self.api.list_subscribers(owner_screen_name='Twitter', slug='Official-Twitter-Accounts')
 
     @tape.use_cassette('testshowlistsubscriber.json')
     def testshowlistsubscriber(self):