Commit a0b3d7bd authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Remove deprecated trends_current().

Also adding IRC notifications for CI build failures.
parent 270bf4a3
......@@ -10,4 +10,10 @@ env:
CONSUMER_SECRET="SpKzSXf16fEQ3AZtiRy8PkGOOgTSmL3Cdmh7o0D8"
ACCESS_KEY="82301637-v1wF1jWd7oa2ZFsIDUNlPKSpTdJ6f8dIMz1Zwmy58"
ACCESS_SECRET="21oUZmKWYuv7PZTcj13UFpPlmh7HD6glR8yayrOgg8"
notifications:
irc:
channels:
- "irc.freenode.net#tweepy"
on_success: change
on_failure: always
......@@ -272,7 +272,6 @@ class TweepyAPITests(unittest.TestCase):
self.api.search('tweepy')
def testtrends(self):
self.api.trends_current()
self.api.trends_daily()
self.api.trends_weekly()
......
......@@ -677,13 +677,6 @@ class API(object):
)
search.pagination_mode = 'page'
""" trends/current """
trends_current = bind_api(
path = '/trends/current.json',
payload_type = 'json',
allowed_param = ['exclude']
)
""" trends/daily """
trends_daily = bind_api(
path = '/trends/daily.json',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment