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

@ -29,7 +29,7 @@ class TwythonError(Exception):
super(TwythonError, self).__init__(msg)
@property
def msg(self):
def msg(self): # pragma: no cover
return self.args[0]
@ -41,7 +41,7 @@ class TwythonAuthError(TwythonError):
pass
class TwythonRateLimitError(TwythonError):
class TwythonRateLimitError(TwythonError): # pragma: no cover
"""Raised when you've hit a rate limit.
The amount of seconds to retry your request in will be appended