From: Harmon Date: Fri, 18 Dec 2020 13:26:42 +0000 (-0600) Subject: Update test for API.get_oembed X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6f68196f38e252c9d5a2aab6e7e2f41d59a5c62c;p=tweepy.git Update test for API.get_oembed --- 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')