Attempting to exclude lines that we can't necessarily hit in tests, added a test, fixed function name

update_profile_background_image has been in endpoints.py twice for a
bit, my bad.

Using update_profile_banner_image for the function name to update
profile banner image (that's what it was called previously)
This commit is contained in:
Mike Helmick 2013-06-12 10:54:28 -04:00
parent 672c8db77e
commit 7cab9d5dd1
7 changed files with 27 additions and 28 deletions

View file

@ -104,6 +104,11 @@ class TwythonAPITestCase(unittest.TestCase):
self.assertRaises(TwythonAuthError, self.api.get_user_timeline,
screen_name=protected_twitter_2)
def test_retweeted_of_me(self):
"""Test that getting recent tweets by authenticated user that have
been retweeted by others succeeds"""
self.api.retweeted_of_me()
def test_get_home_timeline(self):
"""Test returning home timeline for authenticated user succeeds"""
self.api.get_home_timeline()