Update test using API.show_list_subscriber to pass keyword arguments
authorHarmon <Harmon758@gmail.com>
Mon, 15 Feb 2021 08:06:19 +0000 (02:06 -0600)
committerHarmon <Harmon758@gmail.com>
Mon, 15 Feb 2021 08:06:19 +0000 (02:06 -0600)
tests/test_api.py

index df2742ba2fceec6c4f636d13429f8f5c5aca0423..08d8e5f7a0bc35d70086cafaf3da745d4cef7946 100644 (file)
@@ -352,7 +352,7 @@ class TweepyAPITests(TweepyTestCase):
 
     @tape.use_cassette('testshowlistsubscriber.json')
     def testshowlistsubscriber(self):
-        self.assertTrue(self.api.show_list_subscriber('Twitter', 'Official-Twitter-Accounts', 'TwitterMktg'))
+        self.assertTrue(self.api.show_list_subscriber(owner_screen_name='Twitter', slug='Official-Twitter-Accounts', screen_name='TwitterMktg'))
 
     @tape.use_cassette('testsavedsearches.json')
     def testsavedsearches(self):