Update test using API.list_timeline to pass keyword arguments
authorHarmon <Harmon758@gmail.com>
Sun, 14 Feb 2021 06:51:39 +0000 (00:51 -0600)
committerHarmon <Harmon758@gmail.com>
Sun, 14 Feb 2021 06:51:39 +0000 (00:51 -0600)
tests/test_api.py

index 505194c8b657a94d6a1e4163b5f2de3f02d59f52..cf93a5bf45f1599d706ef0532c624317aed0e381 100644 (file)
@@ -295,7 +295,7 @@ class TweepyAPITests(TweepyTestCase):
 
     @tape.use_cassette('testlisttimeline.json')
     def testlisttimeline(self):
-        self.api.list_timeline('Twitter', 'Official-Twitter-Accounts')
+        self.api.list_timeline(owner_screen_name='Twitter', slug='Official-Twitter-Accounts')
 
     @tape.use_cassette('testgetlist.json')
     def testgetlist(self):