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

@ -16,18 +16,6 @@ class TwythonStreamTestCase(unittest.TestCase):
def on_error(self, status_code, data):
raise TwythonStreamError(data)
def on_delete(self, data):
return
def on_limit(self, data):
return
def on_disconnect(self, data):
return
def on_timeout(self, data):
return
self.api = MyStreamer(app_key, app_secret,
oauth_token, oauth_token_secret)