From bb92f76e61063bbe59868659fb42824d3649c7b2 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sun, 6 May 2018 03:02:19 +0200 Subject: Refresh casettes and add some new ones --- tests/cassettes/test_status_card.yaml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'tests/cassettes/test_status_card.yaml') diff --git a/tests/cassettes/test_status_card.yaml b/tests/cassettes/test_status_card.yaml index 2c0c3fb..8336a67 100644 --- a/tests/cassettes/test_status_card.yaml +++ b/tests/cassettes/test_status_card.yaml @@ -12,25 +12,25 @@ interactions: method: POST uri: http://localhost:3000/api/v1/statuses response: - body: {string: '{"id":"99979314393332835","created_at":"2018-05-05T23:34:28.961Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979314393332835","content":"\u003cp\u003e\u003ca + body: {string: '{"id":"99979651560969035","created_at":"2018-05-06T01:00:13.731Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979651560969035","content":"\u003cp\u003e\u003ca href=\"http://example.org/\" rel=\"nofollow noopener\" target=\"_blank\"\u003e\u003cspan class=\"invisible\"\u003ehttp://\u003c/span\u003e\u003cspan class=\"\"\u003eexample.org/\u003c/span\u003e\u003cspan - class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979314393332835","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py + class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979651560969035","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI - walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":126},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} + walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":129},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"9eabf976d9036c167325c4f02e8c53d9"] + ETag: [W/"6437dadd1ff6f6a919a0a986768cbac2"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [e56e1a05-8c00-4cfe-a2b9-92d40d2d04c2] - X-Runtime: ['0.219044'] + X-Request-Id: [f6439fb7-1509-47c2-8598-754f0aa8b489] + X-Runtime: ['0.245703'] X-XSS-Protection: [1; mode=block] - content-length: ['1662'] + content-length: ['1666'] status: {code: 200, message: OK} - request: body: null @@ -41,19 +41,19 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.9.1] method: GET - uri: http://localhost:3000/api/v1/statuses/99979314393332835/card + uri: http://localhost:3000/api/v1/statuses/99979651560969035/card response: body: {string: '{"url":"http://example.org/","title":"Example Domain","description":"","type":"link","author_name":"","author_url":"","provider_name":"","provider_url":"","html":"","width":0,"height":0,"image":null,"embed_url":""}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"4f7368e0a66e823463714620923a890d"] + ETag: [W/"2716bdee19de89a8eb6482532c3da4af"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [0deed838-1c95-4458-9b1e-061c3f797dda] - X-Runtime: ['0.067286'] + X-Request-Id: [8e7a8734-af77-4e9f-8443-e2f982a0dac1] + X-Runtime: ['0.061341'] X-XSS-Protection: [1; mode=block] content-length: ['214'] status: {code: 200, message: OK} @@ -67,19 +67,19 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.9.1] method: DELETE - uri: http://localhost:3000/api/v1/statuses/99979314393332835 + uri: http://localhost:3000/api/v1/statuses/99979651560969035 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"26794a6479efb449e5cffad071c16385"] + ETag: [W/"2d6730305f8b629fa0ba0ee6e53c2c7a"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [0dc2da09-6c6c-4e85-a843-35eb1b8298bf] - X-Runtime: ['0.024208'] + X-Request-Id: [9f6f7f1d-4e09-4aa9-ad61-00fde18fb4a6] + X-Runtime: ['0.029867'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3