Merge pull request #291 from bear/tests_lists · mkdev2015/python-twitter@2e952ff · GitHub
Skip to content

Commit 2e952ff

Browse files
committed
Merge pull request bear#291 from bear/tests_lists
Adds Tests for Various Lists Functions
2 parents 1530b9a + 76f61c2 commit 2e952ff

26 files changed

Lines changed: 959 additions & 532 deletions

doc/migration_v30.rst

Lines changed: 60 additions & 43 deletions

testdata/get_get_memberships.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"lists": [{"description": "", "subscriber_count": 0, "slug": "my-bots", "name": "my-bots", "member_count": 3, "mode": "public", "user": {"notifications": false, "profile_use_background_image": false, "has_extended_profile": false, "listed_count": 5, "profile_image_url": "http://pbs.twimg.com/profile_images/659691753826615298/yN1SoWrU_normal.jpg", "profile_background_image_url": "http://abs.twimg.com/images/themes/theme1/bg.png", "verified": false, "lang": "en", "protected": false, "url": "http://t.co/wtg3XzqQTX", "statuses_count": 325, "profile_text_color": "000000", "profile_background_tile": false, "follow_request_sent": false, "id": 372018022, "default_profile_image": false, "contributors_enabled": false, "following": true, "profile_link_color": "EE3355", "followers_count": 49, "friends_count": 306, "location": "not a very good kingdom tbh", "description": "my kingdom for a microwave that doesn't beep", "profile_sidebar_fill_color": "000000", "default_profile": false, "utc_offset": -18000, "profile_background_image_url_https": "https://abs.twimg.com/images/themes/theme1/bg.png", "favourites_count": 1279, "profile_background_color": "FFFFFF", "is_translation_enabled": false, "profile_sidebar_border_color": "000000", "profile_image_url_https": "https://pbs.twimg.com/profile_images/659691753826615298/yN1SoWrU_normal.jpg", "geo_enabled": false, "time_zone": "Eastern Time (US & Canada)", "name": "jeremy", "id_str": "372018022", "entities": {"description": {"urls": []}, "url": {"urls": [{"display_url": "iseverythingstilltheworst.com", "indices": [0, 22], "expanded_url": "http://iseverythingstilltheworst.com", "url": "http://t.co/wtg3XzqQTX"}]}}, "is_translator": false, "screen_name": "__jcbl__", "created_at": "Sun Sep 11 23:49:28 +0000 2011"}, "id_str": "225486809", "id": 225486809, "following": false, "full_name": "@__jcbl__/my-bots", "created_at": "Tue Nov 10 16:43:07 +0000 2015", "uri": "/__jcbl__/lists/my-bots"}], "next_cursor": 0, "previous_cursor_str": "0", "next_cursor_str": "0", "previous_cursor": 0}

testdata/get_get_memberships_himawari8bot.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions

testdata/get_get_subscriptions_uid.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

testdata/get_list_members_0.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

testdata/get_list_members_1.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

testdata/get_list_members_extra_params.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

testdata/get_list_timeline.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)