aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_card.yaml')
-rw-r--r--tests/cassettes/test_status_card.yaml30
1 files changed, 15 insertions, 15 deletions
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:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 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 15 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
16 href=\"http://example.org/\" rel=\"nofollow noopener\" target=\"_blank\"\u003e\u003cspan 16 href=\"http://example.org/\" rel=\"nofollow noopener\" target=\"_blank\"\u003e\u003cspan
17 class=\"invisible\"\u003ehttp://\u003c/span\u003e\u003cspan class=\"\"\u003eexample.org/\u003c/span\u003e\u003cspan 17 class=\"invisible\"\u003ehttp://\u003c/span\u003e\u003cspan class=\"\"\u003eexample.org/\u003c/span\u003e\u003cspan
18 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 18 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
19 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 19 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
20 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI 20 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI
21 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":[]}'} 21 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":[]}'}
22 headers: 22 headers:
23 Cache-Control: ['max-age=0, private, must-revalidate'] 23 Cache-Control: ['max-age=0, private, must-revalidate']
24 Content-Type: [application/json; charset=utf-8] 24 Content-Type: [application/json; charset=utf-8]
25 ETag: [W/"9eabf976d9036c167325c4f02e8c53d9"] 25 ETag: [W/"6437dadd1ff6f6a919a0a986768cbac2"]
26 Transfer-Encoding: [chunked] 26 Transfer-Encoding: [chunked]
27 Vary: ['Accept-Encoding, Origin'] 27 Vary: ['Accept-Encoding, Origin']
28 X-Content-Type-Options: [nosniff] 28 X-Content-Type-Options: [nosniff]
29 X-Frame-Options: [SAMEORIGIN] 29 X-Frame-Options: [SAMEORIGIN]
30 X-Request-Id: [e56e1a05-8c00-4cfe-a2b9-92d40d2d04c2] 30 X-Request-Id: [f6439fb7-1509-47c2-8598-754f0aa8b489]
31 X-Runtime: ['0.219044'] 31 X-Runtime: ['0.245703']
32 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
33 content-length: ['1662'] 33 content-length: ['1666']
34 status: {code: 200, message: OK} 34 status: {code: 200, message: OK}
35- request: 35- request:
36 body: null 36 body: null
@@ -41,19 +41,19 @@ interactions:
41 Connection: [keep-alive] 41 Connection: [keep-alive]
42 User-Agent: [python-requests/2.9.1] 42 User-Agent: [python-requests/2.9.1]
43 method: GET 43 method: GET
44 uri: http://localhost:3000/api/v1/statuses/99979314393332835/card 44 uri: http://localhost:3000/api/v1/statuses/99979651560969035/card
45 response: 45 response:
46 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":""}'} 46 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":""}'}
47 headers: 47 headers:
48 Cache-Control: ['max-age=0, private, must-revalidate'] 48 Cache-Control: ['max-age=0, private, must-revalidate']
49 Content-Type: [application/json; charset=utf-8] 49 Content-Type: [application/json; charset=utf-8]
50 ETag: [W/"4f7368e0a66e823463714620923a890d"] 50 ETag: [W/"2716bdee19de89a8eb6482532c3da4af"]
51 Transfer-Encoding: [chunked] 51 Transfer-Encoding: [chunked]
52 Vary: ['Accept-Encoding, Origin'] 52 Vary: ['Accept-Encoding, Origin']
53 X-Content-Type-Options: [nosniff] 53 X-Content-Type-Options: [nosniff]
54 X-Frame-Options: [SAMEORIGIN] 54 X-Frame-Options: [SAMEORIGIN]
55 X-Request-Id: [0deed838-1c95-4458-9b1e-061c3f797dda] 55 X-Request-Id: [8e7a8734-af77-4e9f-8443-e2f982a0dac1]
56 X-Runtime: ['0.067286'] 56 X-Runtime: ['0.061341']
57 X-XSS-Protection: [1; mode=block] 57 X-XSS-Protection: [1; mode=block]
58 content-length: ['214'] 58 content-length: ['214']
59 status: {code: 200, message: OK} 59 status: {code: 200, message: OK}
@@ -67,19 +67,19 @@ interactions:
67 Content-Length: ['0'] 67 Content-Length: ['0']
68 User-Agent: [python-requests/2.9.1] 68 User-Agent: [python-requests/2.9.1]
69 method: DELETE 69 method: DELETE
70 uri: http://localhost:3000/api/v1/statuses/99979314393332835 70 uri: http://localhost:3000/api/v1/statuses/99979651560969035
71 response: 71 response:
72 body: {string: '{}'} 72 body: {string: '{}'}
73 headers: 73 headers:
74 Cache-Control: ['max-age=0, private, must-revalidate'] 74 Cache-Control: ['max-age=0, private, must-revalidate']
75 Content-Type: [application/json; charset=utf-8] 75 Content-Type: [application/json; charset=utf-8]
76 ETag: [W/"26794a6479efb449e5cffad071c16385"] 76 ETag: [W/"2d6730305f8b629fa0ba0ee6e53c2c7a"]
77 Transfer-Encoding: [chunked] 77 Transfer-Encoding: [chunked]
78 Vary: ['Accept-Encoding, Origin'] 78 Vary: ['Accept-Encoding, Origin']
79 X-Content-Type-Options: [nosniff] 79 X-Content-Type-Options: [nosniff]
80 X-Frame-Options: [SAMEORIGIN] 80 X-Frame-Options: [SAMEORIGIN]
81 X-Request-Id: [0dc2da09-6c6c-4e85-a843-35eb1b8298bf] 81 X-Request-Id: [9f6f7f1d-4e09-4aa9-ad61-00fde18fb4a6]
82 X-Runtime: ['0.024208'] 82 X-Runtime: ['0.029867']
83 X-XSS-Protection: [1; mode=block] 83 X-XSS-Protection: [1; mode=block]
84 content-length: ['2'] 84 content-length: ['2']
85 status: {code: 200, message: OK} 85 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)