self.api.create_favorite(4901062372)
self.api.destroy_favorite(4901062372)
- def testenabledisablenotifications(self):
- self.api.enable_notifications('twitter')
- self.api.disable_notifications('twitter')
-
def testcreatedestroyblock(self):
self.api.create_block('twitter')
self.api.destroy_block('twitter')
require_auth = True
)
- """ notifications/follow """
- enable_notifications = bind_api(
- path = '/notifications/follow.json',
- method = 'POST',
- payload_type = 'user',
- allowed_param = ['id', 'user_id', 'screen_name'],
- require_auth = True
- )
-
- """ notifications/leave """
- disable_notifications = bind_api(
- path = '/notifications/leave.json',
- method = 'POST',
- payload_type = 'user',
- allowed_param = ['id', 'user_id', 'screen_name'],
- require_auth = True
- )
-
""" blocks/create """
create_block = bind_api(
path = '/blocks/create.json',