From 6f68196f38e252c9d5a2aab6e7e2f41d59a5c62c Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 18 Dec 2020 07:26:42 -0600 Subject: [PATCH] Update test for API.get_oembed --- 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 72a4c0e..d931b53 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -46,7 +46,7 @@ class TweepyAPITests(TweepyTestCase): # TODO: Actually have some sort of better assertion @tape.use_cassette('testgetoembed.json') def testgetoembed(self): - data = self.api.get_oembed(test_tweet_id) + data = self.api.get_oembed("https://twitter.com/Twitter/status/" + test_tweet_id) self.assertEqual(data['author_name'], "Twitter") @tape.use_cassette('testparserargumenthastobeaparserinstance.json') -- 2.25.1