From: Joshua Roesslein Date: Sun, 30 Nov 2014 23:34:18 +0000 (-0600) Subject: Update cassette to get tests passing. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cdf2aae11cc86c36d1621b9fba7d4aa26b7a0a66;p=tweepy.git Update cassette to get tests passing. --- diff --git a/cassettes/testupdateanddestroystatus.json b/cassettes/testupdateanddestroystatus.json index 7d206c9..28d95bf 100644 --- a/cassettes/testupdateanddestroystatus.json +++ b/cassettes/testupdateanddestroystatus.json @@ -27,8 +27,8 @@ "content-length": [ "2213" ], - "expires": [ - "Tue, 31 Mar 1981 05:00:00 GMT" + "strict-transport-security": [ + "max-age=631138519" ], "x-transaction": [ "3c5fc657d9100a2e" @@ -43,8 +43,8 @@ "lang=en", "guest_id=v1%3A141738010836211740; Domain=.twitter.com; Path=/; Expires=Tue, 29-Nov-2016 20:41:48 UTC" ], - "strict-transport-security": [ - "max-age=631138519" + "expires": [ + "Tue, 31 Mar 1981 05:00:00 GMT" ], "x-access-level": [ "read-write-directmessages" @@ -105,8 +105,8 @@ "content-length": [ "2213" ], - "expires": [ - "Tue, 31 Mar 1981 05:00:00 GMT" + "strict-transport-security": [ + "max-age=631138519" ], "x-transaction": [ "d7e0ef53e8e58bfc" @@ -121,8 +121,8 @@ "lang=en", "guest_id=v1%3A141738010879050228; Domain=.twitter.com; Path=/; Expires=Tue, 29-Nov-2016 20:41:48 UTC" ], - "strict-transport-security": [ - "max-age=631138519" + "expires": [ + "Tue, 31 Mar 1981 05:00:00 GMT" ], "x-access-level": [ "read-write-directmessages" @@ -156,6 +156,162 @@ "string": "{\"created_at\":\"Sun Nov 30 20:41:48 +0000 2014\",\"id\":539157368517697536,\"id_str\":\"539157368517697536\",\"text\":\"testing 208\",\"source\":\"\\u003ca href=\\\"http:\\/\\/tweepy.github.com\\/\\\" rel=\\\"nofollow\\\"\\u003eTweepyTravis\\u003c\\/a\\u003e\",\"truncated\":false,\"in_reply_to_status_id\":null,\"in_reply_to_status_id_str\":null,\"in_reply_to_user_id\":null,\"in_reply_to_user_id_str\":null,\"in_reply_to_screen_name\":null,\"user\":{\"id\":82301637,\"id_str\":\"82301637\",\"name\":\"Tweepy test 123\",\"screen_name\":\"tweepytest\",\"location\":\"pytopia\",\"profile_location\":null,\"description\":\"A test account for testing stuff.\",\"url\":\"http:\\/\\/t.co\\/3L9bWVrV0b\",\"entities\":{\"url\":{\"urls\":[{\"url\":\"http:\\/\\/t.co\\/3L9bWVrV0b\",\"expanded_url\":\"http:\\/\\/foo.com\",\"display_url\":\"foo.com\",\"indices\":[0,22]}]},\"description\":{\"urls\":[]}},\"protected\":false,\"followers_count\":10,\"friends_count\":11,\"listed_count\":0,\"created_at\":\"Wed Oct 14 07:28:20 +0000 2009\",\"favourites_count\":1,\"utc_offset\":-21600,\"time_zone\":\"Central Time (US & Canada)\",\"geo_enabled\":true,\"verified\":false,\"statuses_count\":540,\"lang\":\"en\",\"contributors_enabled\":false,\"is_translator\":false,\"is_translation_enabled\":false,\"profile_background_color\":\"FFFFFF\",\"profile_background_image_url\":\"http:\\/\\/pbs.twimg.com\\/profile_background_images\\/394345638\\/test.jpg\",\"profile_background_image_url_https\":\"https:\\/\\/pbs.twimg.com\\/profile_background_images\\/394345638\\/test.jpg\",\"profile_background_tile\":false,\"profile_image_url\":\"http:\\/\\/pbs.twimg.com\\/profile_images\\/1733327710\\/test_normal.jpg\",\"profile_image_url_https\":\"https:\\/\\/pbs.twimg.com\\/profile_images\\/1733327710\\/test_normal.jpg\",\"profile_banner_url\":\"https:\\/\\/pbs.twimg.com\\/profile_banners\\/82301637\\/1417375486\",\"profile_link_color\":\"0000FF\",\"profile_sidebar_border_color\":\"87BC44\",\"profile_sidebar_fill_color\":\"E0FF92\",\"profile_text_color\":\"000000\",\"profile_use_background_image\":false,\"default_profile\":false,\"default_profile_image\":false,\"following\":false,\"follow_request_sent\":false,\"notifications\":false},\"geo\":null,\"coordinates\":null,\"place\":null,\"contributors\":null,\"retweet_count\":0,\"favorite_count\":0,\"entities\":{\"hashtags\":[],\"symbols\":[],\"user_mentions\":[],\"urls\":[]},\"favorited\":false,\"retweeted\":false,\"lang\":\"en\"}" } } + }, + { + "request": { + "body": null, + "headers": { + "Host": [ + "api.twitter.com" + ], + "Content-Length": [ + "0" + ] + }, + "method": "POST", + "uri": "https://api.twitter.com:443/1.1/statuses/update.json?status=testing+1000" + }, + "response": { + "status": { + "message": "OK", + "code": 200 + }, + "headers": { + "status": [ + "200 OK" + ], + "content-length": [ + "2214" + ], + "expires": [ + "Tue, 31 Mar 1981 05:00:00 GMT" + ], + "x-transaction": [ + "6783db044753590e" + ], + "x-content-type-options": [ + "nosniff" + ], + "x-connection-hash": [ + "3c1130a2f01ff4fab87111dc71e03187" + ], + "set-cookie": [ + "lang=en", + "guest_id=v1%3A141739011199354166; Domain=.twitter.com; Path=/; Expires=Tue, 29-Nov-2016 23:28:32 UTC" + ], + "strict-transport-security": [ + "max-age=631138519" + ], + "x-access-level": [ + "read-write-directmessages" + ], + "server": [ + "tsa_b" + ], + "last-modified": [ + "Sun, 30 Nov 2014 23:28:31 GMT" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "pragma": [ + "no-cache" + ], + "cache-control": [ + "no-cache, no-store, must-revalidate, pre-check=0, post-check=0" + ], + "date": [ + "Sun, 30 Nov 2014 23:28:32 UTC" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "content-type": [ + "application/json;charset=utf-8" + ] + }, + "body": { + "string": "{\"created_at\":\"Sun Nov 30 23:28:32 +0000 2014\",\"id\":539199326787219457,\"id_str\":\"539199326787219457\",\"text\":\"testing 1000\",\"source\":\"\\u003ca href=\\\"http:\\/\\/tweepy.github.com\\/\\\" rel=\\\"nofollow\\\"\\u003eTweepyTravis\\u003c\\/a\\u003e\",\"truncated\":false,\"in_reply_to_status_id\":null,\"in_reply_to_status_id_str\":null,\"in_reply_to_user_id\":null,\"in_reply_to_user_id_str\":null,\"in_reply_to_screen_name\":null,\"user\":{\"id\":82301637,\"id_str\":\"82301637\",\"name\":\"Tweepy test 123\",\"screen_name\":\"tweepytest\",\"location\":\"pytopia\",\"profile_location\":null,\"description\":\"A test account for testing stuff.\",\"url\":\"http:\\/\\/t.co\\/3L9bWVrV0b\",\"entities\":{\"url\":{\"urls\":[{\"url\":\"http:\\/\\/t.co\\/3L9bWVrV0b\",\"expanded_url\":\"http:\\/\\/foo.com\",\"display_url\":\"foo.com\",\"indices\":[0,22]}]},\"description\":{\"urls\":[]}},\"protected\":false,\"followers_count\":10,\"friends_count\":11,\"listed_count\":0,\"created_at\":\"Wed Oct 14 07:28:20 +0000 2009\",\"favourites_count\":1,\"utc_offset\":-21600,\"time_zone\":\"Central Time (US & Canada)\",\"geo_enabled\":true,\"verified\":false,\"statuses_count\":541,\"lang\":\"en\",\"contributors_enabled\":false,\"is_translator\":false,\"is_translation_enabled\":false,\"profile_background_color\":\"FFFFFF\",\"profile_background_image_url\":\"http:\\/\\/pbs.twimg.com\\/profile_background_images\\/394345638\\/test.jpg\",\"profile_background_image_url_https\":\"https:\\/\\/pbs.twimg.com\\/profile_background_images\\/394345638\\/test.jpg\",\"profile_background_tile\":false,\"profile_image_url\":\"http:\\/\\/pbs.twimg.com\\/profile_images\\/1733327710\\/test_normal.jpg\",\"profile_image_url_https\":\"https:\\/\\/pbs.twimg.com\\/profile_images\\/1733327710\\/test_normal.jpg\",\"profile_banner_url\":\"https:\\/\\/pbs.twimg.com\\/profile_banners\\/82301637\\/1417380122\",\"profile_link_color\":\"0000FF\",\"profile_sidebar_border_color\":\"87BC44\",\"profile_sidebar_fill_color\":\"E0FF92\",\"profile_text_color\":\"000000\",\"profile_use_background_image\":false,\"default_profile\":false,\"default_profile_image\":false,\"following\":false,\"follow_request_sent\":false,\"notifications\":false},\"geo\":null,\"coordinates\":null,\"place\":null,\"contributors\":null,\"retweet_count\":0,\"favorite_count\":0,\"entities\":{\"hashtags\":[],\"symbols\":[],\"user_mentions\":[],\"urls\":[]},\"favorited\":false,\"retweeted\":false,\"lang\":\"en\"}" + } + } + }, + { + "request": { + "body": null, + "headers": { + "Host": [ + "api.twitter.com" + ], + "Content-Length": [ + "0" + ] + }, + "method": "POST", + "uri": "https://api.twitter.com:443/1.1/statuses/destroy/539199326787219457.json" + }, + "response": { + "status": { + "message": "OK", + "code": 200 + }, + "headers": { + "status": [ + "200 OK" + ], + "content-length": [ + "2214" + ], + "expires": [ + "Tue, 31 Mar 1981 05:00:00 GMT" + ], + "x-transaction": [ + "134768f5f9cb722e" + ], + "x-content-type-options": [ + "nosniff" + ], + "x-connection-hash": [ + "ec9f89fecbb87d920d2a1bda17ed353b" + ], + "set-cookie": [ + "lang=en", + "guest_id=v1%3A141739011240479452; Domain=.twitter.com; Path=/; Expires=Tue, 29-Nov-2016 23:28:32 UTC" + ], + "strict-transport-security": [ + "max-age=631138519" + ], + "x-access-level": [ + "read-write-directmessages" + ], + "server": [ + "tsa_b" + ], + "last-modified": [ + "Sun, 30 Nov 2014 23:28:32 GMT" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "pragma": [ + "no-cache" + ], + "cache-control": [ + "no-cache, no-store, must-revalidate, pre-check=0, post-check=0" + ], + "date": [ + "Sun, 30 Nov 2014 23:28:32 UTC" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "content-type": [ + "application/json;charset=utf-8" + ] + }, + "body": { + "string": "{\"created_at\":\"Sun Nov 30 23:28:32 +0000 2014\",\"id\":539199326787219457,\"id_str\":\"539199326787219457\",\"text\":\"testing 1000\",\"source\":\"\\u003ca href=\\\"http:\\/\\/tweepy.github.com\\/\\\" rel=\\\"nofollow\\\"\\u003eTweepyTravis\\u003c\\/a\\u003e\",\"truncated\":false,\"in_reply_to_status_id\":null,\"in_reply_to_status_id_str\":null,\"in_reply_to_user_id\":null,\"in_reply_to_user_id_str\":null,\"in_reply_to_screen_name\":null,\"user\":{\"id\":82301637,\"id_str\":\"82301637\",\"name\":\"Tweepy test 123\",\"screen_name\":\"tweepytest\",\"location\":\"pytopia\",\"profile_location\":null,\"description\":\"A test account for testing stuff.\",\"url\":\"http:\\/\\/t.co\\/3L9bWVrV0b\",\"entities\":{\"url\":{\"urls\":[{\"url\":\"http:\\/\\/t.co\\/3L9bWVrV0b\",\"expanded_url\":\"http:\\/\\/foo.com\",\"display_url\":\"foo.com\",\"indices\":[0,22]}]},\"description\":{\"urls\":[]}},\"protected\":false,\"followers_count\":10,\"friends_count\":11,\"listed_count\":0,\"created_at\":\"Wed Oct 14 07:28:20 +0000 2009\",\"favourites_count\":1,\"utc_offset\":-21600,\"time_zone\":\"Central Time (US & Canada)\",\"geo_enabled\":true,\"verified\":false,\"statuses_count\":541,\"lang\":\"en\",\"contributors_enabled\":false,\"is_translator\":false,\"is_translation_enabled\":false,\"profile_background_color\":\"FFFFFF\",\"profile_background_image_url\":\"http:\\/\\/pbs.twimg.com\\/profile_background_images\\/394345638\\/test.jpg\",\"profile_background_image_url_https\":\"https:\\/\\/pbs.twimg.com\\/profile_background_images\\/394345638\\/test.jpg\",\"profile_background_tile\":false,\"profile_image_url\":\"http:\\/\\/pbs.twimg.com\\/profile_images\\/1733327710\\/test_normal.jpg\",\"profile_image_url_https\":\"https:\\/\\/pbs.twimg.com\\/profile_images\\/1733327710\\/test_normal.jpg\",\"profile_banner_url\":\"https:\\/\\/pbs.twimg.com\\/profile_banners\\/82301637\\/1417380122\",\"profile_link_color\":\"0000FF\",\"profile_sidebar_border_color\":\"87BC44\",\"profile_sidebar_fill_color\":\"E0FF92\",\"profile_text_color\":\"000000\",\"profile_use_background_image\":false,\"default_profile\":false,\"default_profile_image\":false,\"following\":false,\"follow_request_sent\":false,\"notifications\":false},\"geo\":null,\"coordinates\":null,\"place\":null,\"contributors\":null,\"retweet_count\":0,\"favorite_count\":0,\"entities\":{\"hashtags\":[],\"symbols\":[],\"user_mentions\":[],\"urls\":[]},\"favorited\":false,\"retweeted\":false,\"lang\":\"en\"}" + } + } } ] } \ No newline at end of file