@@ -189,6 +189,50 @@ def testblocks(self):
189
189
def testblocksids (self ):
190
190
self .api .blocks_ids ()
191
191
192
+ def testcreateupdatedestroylist (self ):
193
+ self .api .create_list ('tweeps' )
194
+ # XXX: right now twitter throws a 500 here, issue is being looked into by twitter.
195
+ #self.api.update_list('tweeps', mode='private')
196
+ self .api .destroy_list ('tweeps' )
197
+
198
+ def testlists (self ):
199
+ self .api .lists ()
200
+
201
+ def testlistsmemberships (self ):
202
+ self .api .lists_memberships ()
203
+
204
+ def testlistssubscriptions (self ):
205
+ self .api .lists_subscriptions ()
206
+
207
+ def testlisttimeline (self ):
208
+ self .api .list_timeline ('noradio' , 'tall-people' )
209
+
210
+ def testgetlist (self ):
211
+ self .api .get_list ('noradio' , 'tall-people' )
212
+
213
+ def testaddremovelistmember (self ):
214
+ uid = self .api .get_user ('twitter' ).id
215
+ self .api .add_list_member ('test' , uid )
216
+ self .api .remove_list_member ('test' , uid )
217
+
218
+ def testlistmembers (self ):
219
+ self .api .list_members ('noradio' , 'tall-people' )
220
+
221
+ def testislistmember (self ):
222
+ uid = self .api .get_user ('noradio' ).id
223
+ self .api .is_list_member ('noradio' , 'tall-people' , uid )
224
+
225
+ def testsubscribeunsubscribelist (self ):
226
+ self .api .subscribe_list ('noradio' , 'tall-people' )
227
+ self .api .unsubscribe_list ('noradio' , 'tall-people' )
228
+
229
+ def testlistsubscribers (self ):
230
+ self .api .list_subscribers ('noradio' , 'tall-people' )
231
+
232
+ def testissubscribedlist (self ):
233
+ uid = self .api .get_user ('noradio' ).id
234
+ self .api .is_subscribed_list ('noradio' , 'tall-people' , uid )
235
+
192
236
def testsavedsearches (self ):
193
237
s = self .api .create_saved_search ('test' )
194
238
self .api .saved_searches ()
0 commit comments