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

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