aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_card.yaml')
-rw-r--r--tests/cassettes/test_status_card.yaml32
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/cassettes/test_status_card.yaml b/tests/cassettes/test_status_card.yaml
index 8336a67..7925609 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":"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 15 body: {string: '{"id":"99984773496239669","created_at":"2018-05-06T22:42:48.307Z","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/99984773496239669","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/99979651560969035","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/99984773496239669","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-05-07T00:38:05.405Z","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_.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":[]}'} 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":1,"statuses_count":2},"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/"6437dadd1ff6f6a919a0a986768cbac2"] 25 ETag: [W/"91f59c0c7bdb77fe5db9d8e7afbfe863"]
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: [f6439fb7-1509-47c2-8598-754f0aa8b489] 30 X-Request-Id: [ee847aeb-4d03-4776-99a7-5c96b13740d8]
31 X-Runtime: ['0.245703'] 31 X-Runtime: ['0.432999']
32 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
33 content-length: ['1666'] 33 content-length: ['1664']
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/99979651560969035/card 44 uri: http://localhost:3000/api/v1/statuses/99984773496239669/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/"2716bdee19de89a8eb6482532c3da4af"] 50 ETag: [W/"94c31c523f9321f3bd153b941123f0e0"]
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: [8e7a8734-af77-4e9f-8443-e2f982a0dac1] 55 X-Request-Id: [eedbf6a3-9e5b-46c6-a76c-c8fe78069c33]
56 X-Runtime: ['0.061341'] 56 X-Runtime: ['0.062066']
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/99979651560969035 70 uri: http://localhost:3000/api/v1/statuses/99984773496239669
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/"2d6730305f8b629fa0ba0ee6e53c2c7a"] 76 ETag: [W/"0e4dea5bf4f42ac0f306000e8aeeb8a6"]
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: [9f6f7f1d-4e09-4aa9-ad61-00fde18fb4a6] 81 X-Request-Id: [a647f62a-0114-473f-99dd-b8d257f3d9c8]
82 X-Runtime: ['0.029867'] 82 X-Runtime: ['0.069538']
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)