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

index cf93a5bf45f1599d706ef0532c624317aed0e381..df080f79e145e5312301294365a4ad4805714ee8 100644 (file)
@@ -331,7 +331,7 @@ class TweepyAPITests(TweepyTestCase):
 
     @tape.use_cassette('testlistmembers.json')
     def testlistmembers(self):
-        self.api.list_members('Twitter', 'Official-Twitter-Accounts')
+        self.api.list_members(owner_screen_name='Twitter', slug='Official-Twitter-Accounts')
 
     @tape.use_cassette('testshowlistmember.json')
     def testshowlistmember(self):