projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e88a2f7
)
Update test for API.get_oembed
author
Harmon
<Harmon758@gmail.com>
Fri, 18 Dec 2020 13:26:42 +0000
(07:26 -0600)
committer
Harmon
<Harmon758@gmail.com>
Fri, 18 Dec 2020 13:26:42 +0000
(07:26 -0600)
tests/test_api.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/test_api.py
b/tests/test_api.py
index 72a4c0e10c48f182fa1500a9798d003862112ae6..d931b53bf21cfaa9017b128090d7381440d4be14 100644
(file)
--- 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')