projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66f1612
)
Update test using API.destroy_friendship to pass keyword argument
author
Harmon
<Harmon758@gmail.com>
Fri, 12 Feb 2021 03:41:04 +0000
(21:41 -0600)
committer
Harmon
<Harmon758@gmail.com>
Fri, 12 Feb 2021 03:41:13 +0000
(21:41 -0600)
tests/test_api.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/test_api.py
b/tests/test_api.py
index f9a8c49f7fee245a88a67dd3dfd5228b6f553cb7..e467f090a149d2849a347c09e4cc8b85c879c639 100644
(file)
--- 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')