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