projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24c3078
)
Fix update_with_media test
author
Aaron Hill
<aa1ronham@gmail.com>
Sun, 22 Dec 2013 12:01:32 +0000
(07:01 -0500)
committer
Aaron Hill
<aa1ronham@gmail.com>
Sun, 22 Dec 2013 12:01:32 +0000
(07:01 -0500)
Twitter puts a t.co link in the tweet
tests/test_api.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/test_api.py
b/tests/test_api.py
index 9a4c0d917e0c4b3a365ff646a1e959ad76f099ce..2eec4acbbb486d600931e72af8e1fcfebbc37a49 100644
(file)
--- a/
tests/test_api.py
+++ b/
tests/test_api.py
@@
-72,7
+72,7
@@
class TweepyAPITests(TweepyTestCase):
def testupdatestatuswithmedia(self):
update = self.api.update_with_media('examples/banner.png', status=tweet_text)
- self.assert
Equal(update.text, tweet_
text)
+ self.assert
In(tweet_text + ' http://t.co', update.
text)
def testgetuser(self):
u = self.api.get_user('twitter')