diff options
Diffstat (limited to 'tests/cassettes/test_status_card.yaml')
-rw-r--r-- | tests/cassettes/test_status_card.yaml | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/tests/cassettes/test_status_card.yaml b/tests/cassettes/test_status_card.yaml index 208c96f..3a1bb69 100644 --- a/tests/cassettes/test_status_card.yaml +++ b/tests/cassettes/test_status_card.yaml | |||
@@ -12,13 +12,11 @@ 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":"102315368149139826","created_at":"2019-06-22T13:03:40.448Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost/users/mastodonpy_test/statuses/102315368149139826","url":"http://localhost/@mastodonpy_test/102315368149139826","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003ca | 15 | body: {string: '{"id":"102317292638083847","created_at":"2019-06-22T21:13:05.818Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost/users/mastodonpy_test/statuses/102317292638083847","url":"http://localhost/@mastodonpy_test/102317292638083847","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"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","reblog":null,"application":{"name":"Mastodon.py | 18 | class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e\u003c/p\u003e","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":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
20 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
21 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
22 | headers: | 20 | headers: |
23 | Cache-Control: ['no-cache, no-store'] | 21 | Cache-Control: ['no-cache, no-store'] |
24 | Content-Type: [application/json; charset=utf-8] | 22 | Content-Type: [application/json; charset=utf-8] |
@@ -29,10 +27,10 @@ interactions: | |||
29 | X-Download-Options: [noopen] | 27 | X-Download-Options: [noopen] |
30 | X-Frame-Options: [SAMEORIGIN] | 28 | X-Frame-Options: [SAMEORIGIN] |
31 | X-Permitted-Cross-Domain-Policies: [none] | 29 | X-Permitted-Cross-Domain-Policies: [none] |
32 | X-Request-Id: [64446d1e-a40e-4cb5-9c27-7ffd3989070b] | 30 | X-Request-Id: [58c072b9-8e1b-4b32-b32b-23945863dd0f] |
33 | X-Runtime: ['0.133104'] | 31 | X-Runtime: ['0.142482'] |
34 | X-XSS-Protection: [1; mode=block] | 32 | X-XSS-Protection: [1; mode=block] |
35 | content-length: ['1861'] | 33 | content-length: ['1500'] |
36 | status: {code: 200, message: OK} | 34 | status: {code: 200, message: OK} |
37 | - request: | 35 | - request: |
38 | body: null | 36 | body: null |
@@ -43,7 +41,7 @@ interactions: | |||
43 | Connection: [keep-alive] | 41 | Connection: [keep-alive] |
44 | User-Agent: [python-requests/2.18.4] | 42 | User-Agent: [python-requests/2.18.4] |
45 | method: GET | 43 | method: GET |
46 | uri: http://localhost:3000/api/v1/statuses/102315368149139826/card | 44 | uri: http://localhost:3000/api/v1/statuses/102317292638083847/card |
47 | response: | 45 | response: |
48 | 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":""}'} |
49 | headers: | 47 | headers: |
@@ -56,8 +54,8 @@ interactions: | |||
56 | X-Download-Options: [noopen] | 54 | X-Download-Options: [noopen] |
57 | X-Frame-Options: [SAMEORIGIN] | 55 | X-Frame-Options: [SAMEORIGIN] |
58 | X-Permitted-Cross-Domain-Policies: [none] | 56 | X-Permitted-Cross-Domain-Policies: [none] |
59 | X-Request-Id: [0fe87a33-ce21-43f9-b687-7275d0b31ccf] | 57 | X-Request-Id: [93c6bc96-01a7-4a69-8def-d5ca22e38804] |
60 | X-Runtime: ['0.041347'] | 58 | X-Runtime: ['0.031292'] |
61 | X-XSS-Protection: [1; mode=block] | 59 | X-XSS-Protection: [1; mode=block] |
62 | content-length: ['214'] | 60 | content-length: ['214'] |
63 | status: {code: 200, message: OK} | 61 | status: {code: 200, message: OK} |
@@ -71,12 +69,10 @@ interactions: | |||
71 | Content-Length: ['0'] | 69 | Content-Length: ['0'] |
72 | User-Agent: [python-requests/2.18.4] | 70 | User-Agent: [python-requests/2.18.4] |
73 | method: DELETE | 71 | method: DELETE |
74 | uri: http://localhost:3000/api/v1/statuses/102315368149139826 | 72 | uri: http://localhost:3000/api/v1/statuses/102317292638083847 |
75 | response: | 73 | response: |
76 | body: {string: '{"id":"102315368149139826","created_at":"2019-06-22T13:03:40.448Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost/users/mastodonpy_test/statuses/102315368149139826","url":"http://localhost/@mastodonpy_test/102315368149139826","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"http://example.org/","reblog":null,"application":{"name":"Mastodon.py | 74 | body: {string: '{"id":"102317292638083847","created_at":"2019-06-22T21:13:05.818Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost/users/mastodonpy_test/statuses/102317292638083847","url":"http://localhost/@mastodonpy_test/102317292638083847","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"http://example.org/","reblog":null,"application":{"name":"Mastodon.py |
77 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 75 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":{"url":"http://example.org/","title":"Example |
78 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
79 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":{"url":"http://example.org/","title":"Example | ||
80 | Domain","description":"","type":"link","author_name":"","author_url":"","provider_name":"","provider_url":"","html":"","width":0,"height":0,"image":null,"embed_url":""},"poll":null}'} | 76 | Domain","description":"","type":"link","author_name":"","author_url":"","provider_name":"","provider_url":"","html":"","width":0,"height":0,"image":null,"embed_url":""},"poll":null}'} |
81 | headers: | 77 | headers: |
82 | Cache-Control: ['no-cache, no-store'] | 78 | Cache-Control: ['no-cache, no-store'] |
@@ -88,9 +84,9 @@ interactions: | |||
88 | X-Download-Options: [noopen] | 84 | X-Download-Options: [noopen] |
89 | X-Frame-Options: [SAMEORIGIN] | 85 | X-Frame-Options: [SAMEORIGIN] |
90 | X-Permitted-Cross-Domain-Policies: [none] | 86 | X-Permitted-Cross-Domain-Policies: [none] |
91 | X-Request-Id: [2f239a4e-bd87-4623-9ff6-8d46bb0bfaed] | 87 | X-Request-Id: [92900f7b-ad4f-4d94-95ed-0b3564ef4aec] |
92 | X-Runtime: ['0.078619'] | 88 | X-Runtime: ['0.077313'] |
93 | X-XSS-Protection: [1; mode=block] | 89 | X-XSS-Protection: [1; mode=block] |
94 | content-length: ['1791'] | 90 | content-length: ['1430'] |
95 | status: {code: 200, message: OK} | 91 | status: {code: 200, message: OK} |
96 | version: 1 | 92 | version: 1 |