From c248f6c1e49dae73ced218bb4792474abaf2790a Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 11 Feb 2021 21:41:04 -0600 Subject: [PATCH] Update test using API.destroy_friendship to pass keyword argument --- tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.25.1