MCPcopy Index your code
hub / github.com/ryanmcgrath/twython / test_compatmode

Method test_compatmode

tests/test_html_for_tweet.py:78–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 self.assertTrue('and $ANOTHER and $A.' in tweet_text)
77
78 def test_compatmode(self):
79 tweet_object = self.load_tweet('compat')
80 tweet_text = self.api.html_for_tweet(tweet_object)
81 # link to compat web status link
82 self.assertTrue(
83 u'<a href="https://t.co/SRmsuks2ru" class="twython-url">twitter.com/i/web/status/7…</a>' in tweet_text)
84
85 def test_extendedmode(self):
86 tweet_object = self.load_tweet('extended')

Callers

nothing calls this directly

Calls 2

load_tweetMethod · 0.95
html_for_tweetMethod · 0.80

Tested by

no test coverage detected