Commit 012da2d2 authored by Aaron Hill's avatar Aaron Hill
Browse files

Fix update_with_media test

Twitter puts a t.co link in the tweet
parent 24c30787
......@@ -72,7 +72,7 @@ class TweepyAPITests(TweepyTestCase):
def testupdatestatuswithmedia(self):
update = self.api.update_with_media('examples/banner.png', status=tweet_text)
self.assertEqual(update.text, tweet_text)
self.assertIn(tweet_text + ' http://t.co', update.text)
def testgetuser(self):
u = self.api.get_user('twitter')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment