From: Harmon Date: Sat, 13 Feb 2021 22:10:32 +0000 (-0600) Subject: Update test using API.destroy_block to pass keyword argument X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ca043275d6d5e0dc6d97d6fd4310ea900972ecbc;p=tweepy.git Update test using API.destroy_block to pass keyword argument --- diff --git a/tests/test_api.py b/tests/test_api.py index d22187a..505194c 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -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')