diff options
author | Lorenz Diener <[email protected]> | 2018-05-06 01:37:13 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-05-06 01:37:13 +0200 |
commit | a15d28d9d60128fd5551f05eccd8999b46f70f5e (patch) | |
tree | 84c2e92799983594138a9a4fc4ec7dab429e52bf /tests/cassettes/test_id_hook_within_reblog.yaml | |
parent | ad6b8eeb044760adf4b420199164b245012350f4 (diff) | |
download | mastodon.py-a15d28d9d60128fd5551f05eccd8999b46f70f5e.tar.gz |
Testing updates, can now test streaming API
Diffstat (limited to 'tests/cassettes/test_id_hook_within_reblog.yaml')
-rw-r--r-- | tests/cassettes/test_id_hook_within_reblog.yaml | 162 |
1 files changed, 23 insertions, 139 deletions
diff --git a/tests/cassettes/test_id_hook_within_reblog.yaml b/tests/cassettes/test_id_hook_within_reblog.yaml index 7f1e057..23ccb2f 100644 --- a/tests/cassettes/test_id_hook_within_reblog.yaml +++ b/tests/cassettes/test_id_hook_within_reblog.yaml | |||
@@ -12,22 +12,22 @@ 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":"99882188058152977","created_at":"2018-04-18T19:53:58.776Z","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/99882188058152977","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882188058152977","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 15 | body: {string: '{"id":"99979312515880747","created_at":"2018-05-05T23:34:00.336Z","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/99979312515880747","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979312515880747","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-04-18T20:04:06.511Z","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_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":22},"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_.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":127},"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/"58535ef54f410fb853623984625da999"] | 22 | ETag: [W/"0485cd4f70daa0229d7429b27682affa"] |
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: [b8627a44-235d-4874-861c-0d0bf0798b27] | 27 | X-Request-Id: [982d6410-a374-4988-9fc4-66ac39693acb] |
28 | X-Runtime: ['0.463898'] | 28 | X-Runtime: ['0.384033'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['1397'] | 30 | content-length: ['1398'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
32 | - request: | 32 | - request: |
33 | body: null | 33 | body: null |
@@ -39,29 +39,29 @@ interactions: | |||
39 | Content-Length: ['0'] | 39 | Content-Length: ['0'] |
40 | User-Agent: [python-requests/2.9.1] | 40 | User-Agent: [python-requests/2.9.1] |
41 | method: POST | 41 | method: POST |
42 | uri: http://localhost:3000/api/v1/statuses/99882188058152977/reblog | 42 | uri: http://localhost:3000/api/v1/statuses/99979312515880747/reblog |
43 | response: | 43 | response: |
44 | body: {string: '{"id":"99882188079832427","created_at":"2018-04-18T19:53:59.045Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/mastodonpy_test/statuses/99882188079832427/activity","content":"\u003cp\u003eRT | 44 | body: {string: '{"id":"99979312545353954","created_at":"2018-05-05T23:34:00.752Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979312545353954/activity","content":"\u003cp\u003eRT |
45 | \u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | 45 | \u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" |
46 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 46 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
47 | Toot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882188079832427","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"99882188058152977","created_at":"2018-04-18T19:53:58.776Z","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/99882188058152977","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882188058152977","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 47 | Toot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979312545353954","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"99979312515880747","created_at":"2018-05-05T23:34:00.336Z","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/99979312515880747","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979312515880747","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
48 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 48 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
49 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | 49 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI |
50 | 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_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":21},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},"application":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 50 | 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":[]},"application":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
51 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | 51 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI |
52 | 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_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":22},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 52 | 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":127},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
53 | headers: | 53 | headers: |
54 | Cache-Control: ['max-age=0, private, must-revalidate'] | 54 | Cache-Control: ['max-age=0, private, must-revalidate'] |
55 | Content-Type: [application/json; charset=utf-8] | 55 | Content-Type: [application/json; charset=utf-8] |
56 | ETag: [W/"59764ae5d582ad7acb2a665a04b3e63c"] | 56 | ETag: [W/"4244408dd39b862b096a08c20bdac0df"] |
57 | Transfer-Encoding: [chunked] | 57 | Transfer-Encoding: [chunked] |
58 | Vary: ['Accept-Encoding, Origin'] | 58 | Vary: ['Accept-Encoding, Origin'] |
59 | X-Content-Type-Options: [nosniff] | 59 | X-Content-Type-Options: [nosniff] |
60 | X-Frame-Options: [SAMEORIGIN] | 60 | X-Frame-Options: [SAMEORIGIN] |
61 | X-Request-Id: [dbedcc2b-f2ab-4f44-bc2f-532077131a79] | 61 | X-Request-Id: [11c2f4c8-48a1-4024-a61c-d075b705b2ae] |
62 | X-Runtime: ['0.243188'] | 62 | X-Runtime: ['0.325455'] |
63 | X-XSS-Protection: [1; mode=block] | 63 | X-XSS-Protection: [1; mode=block] |
64 | content-length: ['2940'] | 64 | content-length: ['2942'] |
65 | status: {code: 200, message: OK} | 65 | status: {code: 200, message: OK} |
66 | - request: | 66 | - request: |
67 | body: null | 67 | body: null |
@@ -73,19 +73,19 @@ interactions: | |||
73 | Content-Length: ['0'] | 73 | Content-Length: ['0'] |
74 | User-Agent: [python-requests/2.9.1] | 74 | User-Agent: [python-requests/2.9.1] |
75 | method: DELETE | 75 | method: DELETE |
76 | uri: http://localhost:3000/api/v1/statuses/99882188079832427 | 76 | uri: http://localhost:3000/api/v1/statuses/99979312545353954 |
77 | response: | 77 | response: |
78 | body: {string: '{}'} | 78 | body: {string: '{}'} |
79 | headers: | 79 | headers: |
80 | Cache-Control: ['max-age=0, private, must-revalidate'] | 80 | Cache-Control: ['max-age=0, private, must-revalidate'] |
81 | Content-Type: [application/json; charset=utf-8] | 81 | Content-Type: [application/json; charset=utf-8] |
82 | ETag: [W/"15bde66d67d91c06d9757815a2bb7ed4"] | 82 | ETag: [W/"a0264f9d3df399e01bd0a4bfcb06f036"] |
83 | Transfer-Encoding: [chunked] | 83 | Transfer-Encoding: [chunked] |
84 | Vary: ['Accept-Encoding, Origin'] | 84 | Vary: ['Accept-Encoding, Origin'] |
85 | X-Content-Type-Options: [nosniff] | 85 | X-Content-Type-Options: [nosniff] |
86 | X-Frame-Options: [SAMEORIGIN] | 86 | X-Frame-Options: [SAMEORIGIN] |
87 | X-Request-Id: [5c4d640a-cdc4-48f6-a556-cb2cc8a88b0b] | 87 | X-Request-Id: [b38a9e12-49ec-4a9c-a8e1-65ee81801a89] |
88 | X-Runtime: ['0.040566'] | 88 | X-Runtime: ['0.094469'] |
89 | X-XSS-Protection: [1; mode=block] | 89 | X-XSS-Protection: [1; mode=block] |
90 | content-length: ['2'] | 90 | content-length: ['2'] |
91 | status: {code: 200, message: OK} | 91 | status: {code: 200, message: OK} |
@@ -99,135 +99,19 @@ interactions: | |||
99 | Content-Length: ['0'] | 99 | Content-Length: ['0'] |
100 | User-Agent: [python-requests/2.9.1] | 100 | User-Agent: [python-requests/2.9.1] |
101 | method: DELETE | 101 | method: DELETE |
102 | uri: http://localhost:3000/api/v1/statuses/99882188058152977 | 102 | uri: http://localhost:3000/api/v1/statuses/99979312515880747 |
103 | response: | 103 | response: |
104 | body: {string: '{}'} | 104 | body: {string: '{}'} |
105 | headers: | 105 | headers: |
106 | Cache-Control: ['max-age=0, private, must-revalidate'] | 106 | Cache-Control: ['max-age=0, private, must-revalidate'] |
107 | Content-Type: [application/json; charset=utf-8] | 107 | Content-Type: [application/json; charset=utf-8] |
108 | ETag: [W/"15bde66d67d91c06d9757815a2bb7ed4"] | 108 | ETag: [W/"a0264f9d3df399e01bd0a4bfcb06f036"] |
109 | Transfer-Encoding: [chunked] | 109 | Transfer-Encoding: [chunked] |
110 | Vary: ['Accept-Encoding, Origin'] | 110 | Vary: ['Accept-Encoding, Origin'] |
111 | X-Content-Type-Options: [nosniff] | 111 | X-Content-Type-Options: [nosniff] |
112 | X-Frame-Options: [SAMEORIGIN] | 112 | X-Frame-Options: [SAMEORIGIN] |
113 | X-Request-Id: [c4163375-08d0-412b-921f-d5616d37db0e] | 113 | X-Request-Id: [82928a57-4fa5-49e0-b9d3-c7b363e5323f] |
114 | X-Runtime: ['0.058063'] | 114 | X-Runtime: ['0.050515'] |
115 | X-XSS-Protection: [1; mode=block] | ||
116 | content-length: ['2'] | ||
117 | status: {code: 200, message: OK} | ||
118 | - request: | ||
119 | body: status=Toot%21 | ||
120 | headers: | ||
121 | Accept: ['*/*'] | ||
122 | Accept-Encoding: ['gzip, deflate'] | ||
123 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
124 | Connection: [keep-alive] | ||
125 | Content-Length: ['14'] | ||
126 | Content-Type: [application/x-www-form-urlencoded] | ||
127 | User-Agent: [python-requests/2.9.1] | ||
128 | method: POST | ||
129 | uri: http://localhost:3000/api/v1/statuses | ||
130 | response: | ||
131 | body: {string: '{"id":"99882232497132712","created_at":"2018-04-18T20:05:16.800Z","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/99882232497132712","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882232497132712","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | ||
132 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
133 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | ||
134 | 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":22},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | ||
135 | headers: | ||
136 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
137 | Content-Type: [application/json; charset=utf-8] | ||
138 | ETag: [W/"b49b4319c146920ce2dfbecb25e80239"] | ||
139 | Transfer-Encoding: [chunked] | ||
140 | Vary: ['Accept-Encoding, Origin'] | ||
141 | X-Content-Type-Options: [nosniff] | ||
142 | X-Frame-Options: [SAMEORIGIN] | ||
143 | X-Request-Id: [39e238da-c1f0-4b8a-8702-b82796069aee] | ||
144 | X-Runtime: ['0.304086'] | ||
145 | X-XSS-Protection: [1; mode=block] | ||
146 | content-length: ['1397'] | ||
147 | status: {code: 200, message: OK} | ||
148 | - request: | ||
149 | body: null | ||
150 | headers: | ||
151 | Accept: ['*/*'] | ||
152 | Accept-Encoding: ['gzip, deflate'] | ||
153 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
154 | Connection: [keep-alive] | ||
155 | Content-Length: ['0'] | ||
156 | User-Agent: [python-requests/2.9.1] | ||
157 | method: POST | ||
158 | uri: http://localhost:3000/api/v1/statuses/99882232497132712/reblog | ||
159 | response: | ||
160 | body: {string: '{"id":"99882232512996684","created_at":"2018-04-18T20:05:17.018Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/mastodonpy_test/statuses/99882232512996684/activity","content":"\u003cp\u003eRT | ||
161 | \u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | ||
162 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | ||
163 | Toot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882232512996684","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"99882232497132712","created_at":"2018-04-18T20:05:16.800Z","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/99882232497132712","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882232497132712","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | ||
164 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
165 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | ||
166 | 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":21},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},"application":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
167 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | ||
168 | 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":22},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | ||
169 | headers: | ||
170 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
171 | Content-Type: [application/json; charset=utf-8] | ||
172 | ETag: [W/"858e6f9e24c9039f8bf0dbec251f1bd7"] | ||
173 | Transfer-Encoding: [chunked] | ||
174 | Vary: ['Accept-Encoding, Origin'] | ||
175 | X-Content-Type-Options: [nosniff] | ||
176 | X-Frame-Options: [SAMEORIGIN] | ||
177 | X-Request-Id: [7ee1abd3-b02d-485b-9624-c03a914e5238] | ||
178 | X-Runtime: ['0.196004'] | ||
179 | X-XSS-Protection: [1; mode=block] | ||
180 | content-length: ['2940'] | ||
181 | status: {code: 200, message: OK} | ||
182 | - request: | ||
183 | body: null | ||
184 | headers: | ||
185 | Accept: ['*/*'] | ||
186 | Accept-Encoding: ['gzip, deflate'] | ||
187 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
188 | Connection: [keep-alive] | ||
189 | Content-Length: ['0'] | ||
190 | User-Agent: [python-requests/2.9.1] | ||
191 | method: DELETE | ||
192 | uri: http://localhost:3000/api/v1/statuses/99882232512996684 | ||
193 | response: | ||
194 | body: {string: '{}'} | ||
195 | headers: | ||
196 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
197 | Content-Type: [application/json; charset=utf-8] | ||
198 | ETag: [W/"732a336fc6149f593fb37b18039e30cf"] | ||
199 | Transfer-Encoding: [chunked] | ||
200 | Vary: ['Accept-Encoding, Origin'] | ||
201 | X-Content-Type-Options: [nosniff] | ||
202 | X-Frame-Options: [SAMEORIGIN] | ||
203 | X-Request-Id: [5455d444-5f52-4684-a18b-0a51cd433ea1] | ||
204 | X-Runtime: ['0.055550'] | ||
205 | X-XSS-Protection: [1; mode=block] | ||
206 | content-length: ['2'] | ||
207 | status: {code: 200, message: OK} | ||
208 | - request: | ||
209 | body: null | ||
210 | headers: | ||
211 | Accept: ['*/*'] | ||
212 | Accept-Encoding: ['gzip, deflate'] | ||
213 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
214 | Connection: [keep-alive] | ||
215 | Content-Length: ['0'] | ||
216 | User-Agent: [python-requests/2.9.1] | ||
217 | method: DELETE | ||
218 | uri: http://localhost:3000/api/v1/statuses/99882232497132712 | ||
219 | response: | ||
220 | body: {string: '{}'} | ||
221 | headers: | ||
222 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
223 | Content-Type: [application/json; charset=utf-8] | ||
224 | ETag: [W/"732a336fc6149f593fb37b18039e30cf"] | ||
225 | Transfer-Encoding: [chunked] | ||
226 | Vary: ['Accept-Encoding, Origin'] | ||
227 | X-Content-Type-Options: [nosniff] | ||
228 | X-Frame-Options: [SAMEORIGIN] | ||
229 | X-Request-Id: [8992b247-2724-4455-9d81-b69082f6fc73] | ||
230 | X-Runtime: ['0.081221'] | ||
231 | X-XSS-Protection: [1; mode=block] | 115 | X-XSS-Protection: [1; mode=block] |
232 | content-length: ['2'] | 116 | content-length: ['2'] |
233 | status: {code: 200, message: OK} | 117 | status: {code: 200, message: OK} |