Module Import alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias alias alias Assign NameStore Str Assign NameStore Str Expr Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Import alias ImportFrom alias Assign NameStore Call NameLoad Str Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body ImportFrom alias With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore IfExp NameLoad NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore IfExp NameLoad NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str keyword Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Num Num Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Str Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad NameLoad attr Str keyword Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Continue Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad Num Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str NameLoad ListLoad Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad ListComp CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Num decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore ListLoad Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str For NameStore Call NameLoad Num Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TryFinally body Assign AttributeStore NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest N/A random N/A shutil time sleep N/A os ast literal_eval nose SkipTest tweepy Friendship MemoryCache FileCache API tweepy.parsers Parser config TweepyTestCase username use_replay tape N/A test_tweet_id 266367358078169089 N/A tweet_text testing 1000 N/A Unit tests TweepyErrorTests N/A N/A unittest TestCase N/A testpickle N/A N/A self N/A N/A N/A Verify exceptions can be pickled and unpickled. N/A pickle tweepy.error TweepError N/A e N/A TweepError no reason N/A status 200 N/A e2 N/A N/A pickle loads N/A N/A pickle dumps e N/A N/A N/A self assertEqual N/A e reason N/A e2 reason N/A N/A N/A self assertEqual N/A e response N/A e2 response N/A N/A TweepyAPITests N/A TweepyTestCase N/A testapierror N/A N/A self N/A N/A tweepy.error TweepError N/A N/A N/A self assertRaises TweepError cm N/A N/A N/A N/A N/A self api direct_messages N/A N/A reason N/A literal_eval N/A N/A cm exception reason N/A N/A N/A self assertEqual N/A reason N/A message Bad Authentication data. N/A N/A N/A self assertEqual N/A reason N/A code 215 N/A N/A N/A self assertEqual N/A N/A cm exception api_code 215 N/A N/A N/A tape use_cassette testfailure.json testgetoembed N/A N/A self N/A N/A N/A data N/A N/A N/A self api get_oembed test_tweet_id N/A N/A N/A self assertEqual N/A data N/A author_name Twitter N/A N/A N/A tape use_cassette testgetoembed.json testparserargumenthastobeaparserinstance N/A N/A self N/A N/A N/A  Testing the issue https://github.com/tweepy/tweepy/issues/421 N/A N/A N/A self assertRaises TypeError API N/A self auth parser Parser N/A N/A N/A tape use_cassette testparserargumenthastobeaparserinstance.json testhometimeline N/A N/A self N/A N/A N/A N/A N/A N/A self api home_timeline N/A N/A N/A tape use_cassette testhometimeline.json testusertimeline N/A N/A self N/A N/A N/A N/A N/A N/A self api user_timeline N/A N/A N/A N/A self api user_timeline twitter N/A N/A N/A tape use_cassette testusertimeline.json testmentionstimeline N/A N/A self N/A N/A N/A N/A N/A N/A self api mentions_timeline N/A N/A N/A tape use_cassette testmentionstimeline.json testretweetsofme N/A N/A self N/A N/A N/A N/A N/A N/A self api retweets_of_me N/A N/A N/A tape use_cassette testretweetsofme.json testretweet N/A N/A self N/A N/A N/A N/A SkipTest N/A testretweets N/A N/A self N/A N/A N/A N/A N/A N/A self api retweets test_tweet_id N/A N/A N/A tape use_cassette testretweets.json testretweeters N/A N/A self N/A N/A N/A N/A N/A N/A self api retweeters test_tweet_id N/A N/A N/A tape use_cassette testretweeters.json testgetstatus N/A N/A self N/A N/A N/A N/A N/A N/A self api get_status id test_tweet_id N/A N/A N/A tape use_cassette testgetstatus.json testupdateanddestroystatus N/A N/A self N/A N/A N/A text N/A use_replay tweet_text N/A testing %i N/A N/A random randint 0 1000 N/A update N/A N/A N/A self api update_status status text N/A N/A N/A self assertEqual N/A update text text N/A deleted N/A N/A N/A self api destroy_status id N/A update id N/A N/A N/A self assertEqual N/A deleted id N/A update id N/A N/A N/A tape use_cassette testupdateanddestroystatus.json testupdateanddestroystatuswithoutkwarg N/A N/A self N/A N/A N/A text N/A use_replay tweet_text N/A testing %i N/A N/A random randint 0 1000 N/A update N/A N/A N/A self api update_status text N/A N/A N/A self assertEqual N/A update text text N/A deleted N/A N/A N/A self api destroy_status id N/A update id N/A N/A N/A self assertEqual N/A deleted id N/A update id N/A N/A N/A tape use_cassette testupdateanddestroystatus.json testupdatestatuswithmedia N/A N/A self N/A N/A N/A update N/A N/A N/A self api update_with_media examples/banner.png status tweet_text N/A N/A N/A self assertIn N/A tweet_text  http://t.co N/A update text N/A N/A N/A tape use_cassette testupdatestatuswithmedia.yaml serializer yaml testgetuser N/A N/A self N/A N/A N/A u N/A N/A N/A self api get_user twitter N/A N/A N/A self assertEqual N/A u screen_name twitter N/A u N/A N/A N/A self api get_user 783214 N/A N/A N/A self assertEqual N/A u screen_name twitter N/A N/A N/A tape use_cassette testgetuser.json testlookupusers N/A N/A self N/A N/A check N/A N/A users N/A N/A N/A N/A N/A self assertEqual N/A len users 2 N/A N/A N/A check N/A N/A N/A self api lookup_users user_ids N/A 6844292 6253282 N/A N/A check N/A N/A N/A self api lookup_users screen_names N/A twitterapi twitter N/A N/A N/A tape use_cassette testlookupusers.json testsearchusers N/A N/A self N/A N/A N/A N/A N/A N/A self api search_users twitter N/A N/A N/A tape use_cassette testsearchusers.json testsuggestedcategories N/A N/A self N/A N/A N/A N/A N/A N/A self api suggested_categories N/A N/A N/A tape use_cassette testsuggestedcategories.json testsuggestedusers N/A N/A self N/A N/A N/A categories N/A N/A N/A self api suggested_categories N/A N/A N/A len categories 0 N/A N/A N/A N/A N/A self api suggested_users N/A N/A categories N/A 0 slug N/A N/A N/A tape use_cassette testsuggestedusers.json testsuggesteduserstweets N/A N/A self N/A N/A N/A categories N/A N/A N/A self api suggested_categories N/A N/A N/A len categories 0 N/A N/A N/A N/A N/A self api suggested_users_tweets N/A N/A categories N/A 0 slug N/A N/A N/A tape use_cassette testsuggesteduserstweets.json testme N/A N/A self N/A N/A N/A me N/A N/A N/A self api me N/A N/A N/A self assertEqual N/A me screen_name username N/A N/A N/A tape use_cassette testme.json testdirectmessages N/A N/A self N/A N/A N/A N/A N/A N/A self api direct_messages N/A N/A N/A tape use_cassette testdirectmessages.json testsentdirectmessages N/A N/A self N/A N/A N/A N/A N/A N/A self api sent_direct_messages N/A N/A N/A tape use_cassette testsentdirectmessages.json testsendanddestroydirectmessage N/A N/A self N/A N/A N/A sent_dm N/A N/A N/A self api send_direct_message username text test message N/A N/A N/A self assertEqual N/A sent_dm text test message N/A N/A N/A self assertEqual N/A N/A sent_dm sender screen_name username N/A N/A N/A self assertEqual N/A N/A sent_dm recipient screen_name username N/A destroyed_dm N/A N/A N/A self api destroy_direct_message N/A sent_dm id N/A N/A N/A self assertEqual N/A destroyed_dm text N/A sent_dm text N/A N/A N/A self assertEqual N/A destroyed_dm id N/A sent_dm id N/A N/A N/A self assertEqual N/A N/A destroyed_dm sender screen_name username N/A N/A N/A self assertEqual N/A N/A destroyed_dm recipient screen_name username N/A N/A N/A tape use_cassette testsendanddestroydirectmessage.json testcreatedestroyfriendship N/A N/A self N/A N/A N/A enemy N/A N/A N/A self api destroy_friendship twitter N/A N/A N/A self assertEqual N/A enemy screen_name twitter N/A N/A sleep 5 N/A friend N/A N/A N/A self api create_friendship twitter N/A N/A N/A self assertEqual N/A friend screen_name twitter N/A N/A N/A tape use_cassette testcreatedestroyfriendship.json testshowfriendship N/A N/A self N/A N/A N/A N/A source target N/A N/A N/A self api show_friendship target_screen_name twitter N/A N/A N/A self assert_ N/A isinstance source Friendship N/A N/A N/A self assert_ N/A isinstance target Friendship N/A N/A N/A tape use_cassette testshowfriendship.json testfriendsids N/A N/A self N/A N/A N/A N/A N/A N/A self api friends_ids username N/A N/A N/A tape use_cassette testfriendsids.json testfollowersids N/A N/A self N/A N/A N/A N/A N/A N/A self api followers_ids username N/A N/A N/A tape use_cassette testfollowersids.json testfriends N/A N/A self N/A N/A N/A N/A N/A N/A self api friends username N/A N/A N/A tape use_cassette testfriends.json testfollowers N/A N/A self N/A N/A N/A N/A N/A N/A self api followers username N/A N/A N/A tape use_cassette testfollowers.json testverifycredentials N/A N/A self N/A N/A N/A N/A N/A self assertNotEqual N/A N/A N/A self api verify_credentials False N/A me N/A N/A N/A self api verify_credentials include_entities True N/A N/A N/A self assertTrue N/A N/A me status entities N/A me N/A N/A N/A self api verify_credentials skip_status True N/A N/A N/A self assertFalse N/A hasattr me status N/A N/A N/A tape use_cassette testverifycredentials.json testratelimitstatus N/A N/A self N/A N/A N/A N/A N/A N/A self api rate_limit_status N/A N/A N/A tape use_cassette testratelimitstatus.json N/A  TODO(josh): Remove once this deprecated API is gone.
    def testsetdeliverydevice(self):
        self.api.set_delivery_device('im')
        self.api.set_delivery_device('none')
     testupdateprofilecolors N/A N/A self N/A N/A N/A original N/A N/A N/A self api me N/A updated N/A N/A N/A self api update_profile_colors 000 000 000 000 000 N/A N/A N/A N/A self api update_profile_colors N/A original profile_background_color N/A original profile_text_color N/A original profile_link_color N/A original profile_sidebar_fill_color N/A original profile_sidebar_border_color N/A N/A N/A self assertEqual N/A updated profile_background_color 000000 N/A N/A N/A self assertEqual N/A updated profile_text_color 000000 N/A N/A N/A self assertEqual N/A updated profile_link_color 000000 N/A N/A N/A self assertEqual N/A updated profile_sidebar_fill_color 000000 N/A N/A N/A self assertEqual N/A updated profile_sidebar_border_color 000000 N/A N/A N/A tape use_cassette testupdateprofilecolors.json N/A 
    def testupateprofileimage(self):
        self.api.update_profile_image('examples/profile.png')

    def testupdateprofilebg(self):
        self.api.update_profile_background_image('examples/bg.png')
     testupdateprofilebannerimage N/A N/A self N/A N/A N/A N/A N/A N/A self api update_profile_banner examples/banner.png N/A N/A N/A tape use_cassette testupdateprofilebannerimage.yaml serializer yaml testupdateprofile N/A N/A self N/A N/A N/A original N/A N/A N/A self api me N/A profile N/A name location description Tweepy test 123 pytopia just testing things out N/A updated N/A N/A N/A self api update_profile profile N/A N/A N/A N/A self api update_profile name N/A original name url N/A original url location N/A original location description N/A original description N/A N/A k v N/A N/A profile items N/A N/A N/A k email N/A N/A N/A N/A N/A self assertEqual N/A getattr updated k v N/A N/A N/A tape use_cassette testupdateprofile.json testfavorites N/A N/A self N/A N/A N/A N/A N/A N/A self api favorites N/A N/A N/A tape use_cassette testfavorites.json testcreatedestroyfavorite N/A N/A self N/A N/A N/A N/A N/A N/A self api create_favorite 4901062372 N/A N/A N/A N/A self api destroy_favorite 4901062372 N/A N/A N/A tape use_cassette testcreatedestroyfavorite.json testcreatedestroyblock N/A N/A self N/A N/A N/A N/A N/A N/A self api create_block twitter N/A N/A N/A N/A self api destroy_block twitter N/A N/A N/A N/A self api create_friendship twitter N/A N/A N/A tape use_cassette testcreatedestroyblock.json testblocks N/A N/A self N/A N/A N/A N/A N/A N/A self api blocks N/A N/A N/A tape use_cassette testblocks.json testblocksids N/A N/A self N/A N/A N/A N/A N/A N/A self api blocks_ids N/A N/A N/A tape use_cassette testblocksids.json testlistsall N/A N/A self N/A N/A N/A N/A N/A N/A self api lists_all N/A N/A N/A tape use_cassette testlistsall.json testlistsmemberships N/A N/A self N/A N/A N/A N/A N/A N/A self api lists_memberships N/A N/A N/A tape use_cassette testlistsmemberships.json testlistssubscriptions N/A N/A self N/A N/A N/A N/A N/A N/A self api lists_subscriptions N/A N/A N/A tape use_cassette testlistssubscriptions.json testlisttimeline N/A N/A self N/A N/A N/A N/A N/A N/A self api list_timeline applepie stars N/A N/A N/A tape use_cassette testlisttimeline.json testgetlist N/A N/A self N/A N/A N/A N/A N/A N/A self api get_list owner_screen_name applepie slug stars N/A N/A N/A tape use_cassette testgetlist.json testaddremovelistmember N/A N/A self N/A N/A N/A params N/A slug owner_screen_name screen_name test username twitter assert_list N/A N/A l N/A N/A N/A N/A N/A self assertEqual N/A l name N/A params N/A slug N/A N/A N/A assert_list N/A N/A N/A self api add_list_member params N/A N/A sleep 3 N/A N/A assert_list N/A N/A N/A self api remove_list_member params N/A N/A N/A tape use_cassette testaddremovelistmember.json testaddremovelistmembers N/A N/A self N/A N/A N/A params N/A slug owner_screen_name screen_name test username N/A twitterapi twittermobile assert_list N/A N/A l N/A N/A N/A N/A N/A self assertEqual N/A l name N/A params N/A slug N/A N/A N/A assert_list N/A N/A N/A self api add_list_members params N/A N/A assert_list N/A N/A N/A self api remove_list_members params N/A N/A N/A tape use_cassette testaddremovelistmembers.json testlistmembers N/A N/A self N/A N/A N/A N/A N/A N/A self api list_members applepie stars N/A N/A N/A tape use_cassette testlistmembers.json testshowlistmember N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A self api show_list_member owner_screen_name applepie slug stars screen_name NathanFillion N/A N/A N/A tape use_cassette testshowlistmember.json testsubscribeunsubscribelist N/A N/A self N/A N/A N/A params N/A owner_screen_name slug applepie stars N/A N/A N/A N/A self api subscribe_list params N/A N/A N/A N/A self api unsubscribe_list params N/A N/A N/A tape use_cassette testsubscribeunsubscribelist.json testlistsubscribers N/A N/A self N/A N/A N/A N/A N/A N/A self api list_subscribers applepie stars N/A N/A N/A tape use_cassette testlistsubscribers.json testshowlistsubscriber N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A self api show_list_subscriber tweepytest test applepie N/A N/A N/A tape use_cassette testshowlistsubscriber.json testsavedsearches N/A N/A self N/A N/A N/A s N/A N/A N/A self api create_saved_search test N/A N/A N/A N/A self api saved_searches N/A N/A N/A self assertEqual N/A N/A N/A N/A self api get_saved_search N/A s id query test N/A N/A N/A N/A self api destroy_saved_search N/A s id N/A N/A N/A tape use_cassette testsavedsearches.json testsearch N/A N/A self N/A N/A N/A N/A N/A N/A self api search tweepy N/A N/A N/A tape use_cassette testsearch.json testgeoapis N/A N/A self N/A N/A place_name_in_list N/A N/A place_name place_list N/A N/A N/A Return True if a given place_name is in place_list. N/A N/A any N/A N/A N/A N/A N/A x full_name lower N/A N/A place_name lower N/A x place_list N/A N/A twitter_hq N/A N/A N/A self api geo_similar_places lat 37.7821120598956 long -122.400612831116 name South of Market Child Care N/A N/A N/A self assertEqual N/A N/A twitter_hq N/A 0 id 1d019624e6b4dcff N/A N/A N/A self assertEqual N/A N/A N/A N/A self api geo_id id 1ffd3558f2e98349 full_name Dogpatch, San Francisco N/A N/A N/A self assertTrue N/A place_name_in_list Austin, TX N/A N/A N/A self api reverse_geocode lat 30.2673701685 long -97.7426147461 N/A N/A N/A tape use_cassette testgeoapis.json testsupportedlanguages N/A N/A self N/A N/A N/A languages N/A N/A N/A self api supported_languages N/A expected_dict N/A name code status English en production N/A N/A N/A self assertTrue N/A expected_dict languages N/A N/A N/A tape use_cassette testsupportedlanguages.json testcachedresult N/A N/A self N/A N/A N/A N/A N/A self api cache N/A MemoryCache N/A N/A N/A N/A self api home_timeline N/A N/A N/A self assertFalse N/A N/A self api cached_result N/A N/A N/A N/A self api home_timeline N/A N/A N/A self assertTrue N/A N/A self api cached_result N/A N/A N/A tape use_cassette testcachedresult.json N/A TweepyCacheTests N/A N/A unittest TestCase N/A N/A timeout 2.0 N/A memcache_servers N/A 127.0.0.1:11211 _run_tests N/A N/A self do_cleanup N/A True N/A N/A N/A N/A N/A self cache store testkey testvalue N/A N/A N/A self assertEqual N/A N/A N/A self cache get testkey testvalue Stored value does not match retrieved value N/A N/A sleep N/A self timeout N/A N/A N/A self assertEqual N/A N/A N/A self cache get testkey None Cache entry should have expired N/A do_cleanup N/A N/A N/A N/A N/A self cache store testkey testvalue N/A N/A sleep N/A self timeout N/A N/A N/A N/A self cache cleanup N/A N/A N/A self assertEqual N/A N/A N/A self cache count 0 Cache cleanup failed N/A i N/A range 0 20 N/A N/A N/A N/A N/A self cache store N/A testkey%i i testvalue N/A N/A N/A self assertEqual N/A N/A N/A self cache count 20 Count is wrong N/A N/A N/A N/A self cache flush N/A N/A N/A self assertEqual N/A N/A N/A self cache count 0 Cache failed to flush N/A testmemorycache N/A N/A self N/A N/A N/A N/A self cache N/A MemoryCache timeout N/A self timeout N/A N/A N/A self _run_tests N/A testfilecache N/A N/A self N/A N/A N/A N/A N/A os mkdir cache_test_dir N/A N/A N/A N/A self cache N/A FileCache cache_test_dir N/A self timeout N/A N/A N/A self _run_tests N/A N/A N/A N/A self cache flush N/A N/A N/A N/A N/A os path exists cache_test_dir N/A N/A N/A N/A shutil rmtree cache_test_dir N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main