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:
parent
672c8db77e
commit
7cab9d5dd1
7 changed files with 27 additions and 28 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue