From: Harmon Date: Fri, 12 Feb 2021 03:41:04 +0000 (-0600) Subject: Update test using API.destroy_friendship to pass keyword argument X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c248f6c1e49dae73ced218bb4792474abaf2790a;p=tweepy.git Update test using API.destroy_friendship to pass keyword argument --- diff --git a/tests/test_api.py b/tests/test_api.py index f9a8c49..e467f09 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -156,7 +156,7 @@ class TweepyAPITests(TweepyTestCase): @tape.use_cassette('testcreatedestroyfriendship.yaml', serializer='yaml') def testcreatedestroyfriendship(self): - enemy = self.api.destroy_friendship('Twitter') + enemy = self.api.destroy_friendship(screen_name='Twitter') self.assertEqual(enemy.screen_name, 'Twitter') friend = self.api.create_friendship(screen_name='Twitter')