diff options
Diffstat (limited to 'tests/cassettes/test_id_hook_in_reply_to.yaml')
-rw-r--r-- | tests/cassettes/test_id_hook_in_reply_to.yaml | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/tests/cassettes/test_id_hook_in_reply_to.yaml b/tests/cassettes/test_id_hook_in_reply_to.yaml index 975a965..b08984e 100644 --- a/tests/cassettes/test_id_hook_in_reply_to.yaml +++ b/tests/cassettes/test_id_hook_in_reply_to.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":"99979649277048199","created_at":"2018-05-06T00:59:38.930Z","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/99979649277048199","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979649277048199","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 15 | body: {string: '{"id":"99984770571080110","created_at":"2018-05-06T22:42:03.626Z","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/99984770571080110","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984770571080110","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
16 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 16 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
17 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | 17 | Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI |
18 | 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":130},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 18 | 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":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
19 | headers: | 19 | headers: |
20 | Cache-Control: ['max-age=0, private, must-revalidate'] | 20 | Cache-Control: ['max-age=0, private, must-revalidate'] |
21 | Content-Type: [application/json; charset=utf-8] | 21 | Content-Type: [application/json; charset=utf-8] |
22 | ETag: [W/"31729b27ba7b3bad99948d2193913e3c"] | 22 | ETag: [W/"3381df07e2c2fd4496641032a7059df4"] |
23 | Transfer-Encoding: [chunked] | 23 | Transfer-Encoding: [chunked] |
24 | Vary: ['Accept-Encoding, Origin'] | 24 | Vary: ['Accept-Encoding, Origin'] |
25 | X-Content-Type-Options: [nosniff] | 25 | X-Content-Type-Options: [nosniff] |
26 | X-Frame-Options: [SAMEORIGIN] | 26 | X-Frame-Options: [SAMEORIGIN] |
27 | X-Request-Id: [c8b719b0-50ef-4917-8a9f-5e1fe4a6ae6b] | 27 | X-Request-Id: [65ebb470-d9b4-44b7-8848-453da7931247] |
28 | X-Runtime: ['0.445238'] | 28 | X-Runtime: ['0.371388'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['1402'] | 30 | content-length: ['1400'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
32 | - request: | 32 | - request: |
33 | body: in_reply_to_id=99979649277048199&status=Reply%21 | 33 | body: status=Reply%21&in_reply_to_id=99984770571080110 |
34 | headers: | 34 | headers: |
35 | Accept: ['*/*'] | 35 | Accept: ['*/*'] |
36 | Accept-Encoding: ['gzip, deflate'] | 36 | Accept-Encoding: ['gzip, deflate'] |
@@ -42,22 +42,22 @@ interactions: | |||
42 | method: POST | 42 | method: POST |
43 | uri: http://localhost:3000/api/v1/statuses | 43 | uri: http://localhost:3000/api/v1/statuses |
44 | response: | 44 | response: |
45 | body: {string: '{"id":"99979649306470217","created_at":"2018-05-06T00:59:39.315Z","in_reply_to_id":"99979649277048199","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979649306470217","content":"\u003cp\u003eReply!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979649306470217","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 45 | body: {string: '{"id":"99984770599740284","created_at":"2018-05-06T22:42:04.050Z","in_reply_to_id":"99984770571080110","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984770599740284","content":"\u003cp\u003eReply!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984770599740284","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
46 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 46 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
47 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | 47 | Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI |
48 | 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":130},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 48 | 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":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
49 | headers: | 49 | headers: |
50 | Cache-Control: ['max-age=0, private, must-revalidate'] | 50 | Cache-Control: ['max-age=0, private, must-revalidate'] |
51 | Content-Type: [application/json; charset=utf-8] | 51 | Content-Type: [application/json; charset=utf-8] |
52 | ETag: [W/"142c50580b7dc90e005225f035b7ebf9"] | 52 | ETag: [W/"b75638d6371f7dff9244a5904f1fb696"] |
53 | Transfer-Encoding: [chunked] | 53 | Transfer-Encoding: [chunked] |
54 | Vary: ['Accept-Encoding, Origin'] | 54 | Vary: ['Accept-Encoding, Origin'] |
55 | X-Content-Type-Options: [nosniff] | 55 | X-Content-Type-Options: [nosniff] |
56 | X-Frame-Options: [SAMEORIGIN] | 56 | X-Frame-Options: [SAMEORIGIN] |
57 | X-Request-Id: [050e1d94-134e-45fb-9642-ecfc0c12b87d] | 57 | X-Request-Id: [728dfa8b-0ffb-4c4f-a1b5-28560eba4de1] |
58 | X-Runtime: ['0.380395'] | 58 | X-Runtime: ['0.352035'] |
59 | X-XSS-Protection: [1; mode=block] | 59 | X-XSS-Protection: [1; mode=block] |
60 | content-length: ['1432'] | 60 | content-length: ['1430'] |
61 | status: {code: 200, message: OK} | 61 | status: {code: 200, message: OK} |
62 | - request: | 62 | - request: |
63 | body: null | 63 | body: null |
@@ -69,19 +69,19 @@ interactions: | |||
69 | Content-Length: ['0'] | 69 | Content-Length: ['0'] |
70 | User-Agent: [python-requests/2.9.1] | 70 | User-Agent: [python-requests/2.9.1] |
71 | method: DELETE | 71 | method: DELETE |
72 | uri: http://localhost:3000/api/v1/statuses/99979649306470217 | 72 | uri: http://localhost:3000/api/v1/statuses/99984770599740284 |
73 | response: | 73 | response: |
74 | body: {string: '{}'} | 74 | body: {string: '{}'} |
75 | headers: | 75 | headers: |
76 | Cache-Control: ['max-age=0, private, must-revalidate'] | 76 | Cache-Control: ['max-age=0, private, must-revalidate'] |
77 | Content-Type: [application/json; charset=utf-8] | 77 | Content-Type: [application/json; charset=utf-8] |
78 | ETag: [W/"c1c7795762f368c73cc1f022e1c42f47"] | 78 | ETag: [W/"0c1a6f73b62143b70de48849d6c61a43"] |
79 | Transfer-Encoding: [chunked] | 79 | Transfer-Encoding: [chunked] |
80 | Vary: ['Accept-Encoding, Origin'] | 80 | Vary: ['Accept-Encoding, Origin'] |
81 | X-Content-Type-Options: [nosniff] | 81 | X-Content-Type-Options: [nosniff] |
82 | X-Frame-Options: [SAMEORIGIN] | 82 | X-Frame-Options: [SAMEORIGIN] |
83 | X-Request-Id: [041c4293-0b37-44ec-b806-3e95b1536673] | 83 | X-Request-Id: [0a0d1c75-4183-49dc-ac60-ab0c4c2e846a] |
84 | X-Runtime: ['0.065730'] | 84 | X-Runtime: ['0.283850'] |
85 | X-XSS-Protection: [1; mode=block] | 85 | X-XSS-Protection: [1; mode=block] |
86 | content-length: ['2'] | 86 | content-length: ['2'] |
87 | status: {code: 200, message: OK} | 87 | status: {code: 200, message: OK} |
@@ -95,19 +95,19 @@ interactions: | |||
95 | Content-Length: ['0'] | 95 | Content-Length: ['0'] |
96 | User-Agent: [python-requests/2.9.1] | 96 | User-Agent: [python-requests/2.9.1] |
97 | method: DELETE | 97 | method: DELETE |
98 | uri: http://localhost:3000/api/v1/statuses/99979649277048199 | 98 | uri: http://localhost:3000/api/v1/statuses/99984770571080110 |
99 | response: | 99 | response: |
100 | body: {string: '{}'} | 100 | body: {string: '{}'} |
101 | headers: | 101 | headers: |
102 | Cache-Control: ['max-age=0, private, must-revalidate'] | 102 | Cache-Control: ['max-age=0, private, must-revalidate'] |
103 | Content-Type: [application/json; charset=utf-8] | 103 | Content-Type: [application/json; charset=utf-8] |
104 | ETag: [W/"c1c7795762f368c73cc1f022e1c42f47"] | 104 | ETag: [W/"0c1a6f73b62143b70de48849d6c61a43"] |
105 | Transfer-Encoding: [chunked] | 105 | Transfer-Encoding: [chunked] |
106 | Vary: ['Accept-Encoding, Origin'] | 106 | Vary: ['Accept-Encoding, Origin'] |
107 | X-Content-Type-Options: [nosniff] | 107 | X-Content-Type-Options: [nosniff] |
108 | X-Frame-Options: [SAMEORIGIN] | 108 | X-Frame-Options: [SAMEORIGIN] |
109 | X-Request-Id: [70cdb656-b517-4d34-b4fb-ee13af1ec754] | 109 | X-Request-Id: [d0e7f2af-19bb-4a26-b530-8280b1ebef77] |
110 | X-Runtime: ['0.099930'] | 110 | X-Runtime: ['0.110012'] |
111 | X-XSS-Protection: [1; mode=block] | 111 | X-XSS-Protection: [1; mode=block] |
112 | content-length: ['2'] | 112 | content-length: ['2'] |
113 | status: {code: 200, message: OK} | 113 | status: {code: 200, message: OK} |