Remove deprecated trends_current().
authorJoshua Roesslein <jroesslein@gmail.com>
Thu, 8 Nov 2012 04:18:33 +0000 (20:18 -0800)
committerJoshua Roesslein <jroesslein@gmail.com>
Thu, 8 Nov 2012 04:18:33 +0000 (20:18 -0800)
Also adding IRC notifications for CI build failures.

.travis.yml
tests.py
tweepy/api.py

index 73ad3e17162a4108619e3815c254d31857518f5b..8aa965b98ee8e0366e049c5f9cc42fb0edb1577c 100644 (file)
@@ -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
 
index 9326806461615eb7e4e81674e5f7d0e7aba0212d..bc7bad9934497b545cfa7e658b14538dabbfb9cf 100644 (file)
--- a/tests.py
+++ b/tests.py
@@ -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()
 
index 8acd57fb05533a4d52493d97c68c750dcba53814..7affc61859a0cf13edd726c4c34c8cdc6354ec44 100644 (file)
@@ -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',