Update test using API.create_block to pass keyword argument
authorHarmon <Harmon758@gmail.com>
Sat, 13 Feb 2021 22:02:10 +0000 (16:02 -0600)
committerHarmon <Harmon758@gmail.com>
Sat, 13 Feb 2021 22:02:10 +0000 (16:02 -0600)
tests/test_api.py

index 1e5acc67ebb924f9571c342470ab702270bf0edb..d22187ae3d5191966090b1b390f314aea4869b88 100644 (file)
@@ -254,7 +254,7 @@ class TweepyAPITests(TweepyTestCase):
 
     @tape.use_cassette('testcreatedestroyblock.yaml', serializer='yaml')
     def testcreatedestroyblock(self):
-        self.api.create_block('twitter')
+        self.api.create_block(screen_name='twitter')
         self.api.destroy_block('twitter')
         self.api.create_friendship(screen_name='twitter')  # restore