diff options
author | Lorenz Diener <[email protected]> | 2018-07-14 01:07:26 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-07-14 01:07:26 +0200 |
commit | 65b1f41e65d5f20136de0bd01f154ecf4134eaf8 (patch) | |
tree | 6cb000bf369c5eda54f3ce4dcc5636437a20e9e0 /tests/cassettes/test_account_pinned.yaml | |
parent | 91de8ca061524712cae1d1b327cc2b2881c37548 (diff) | |
download | mastodon.py-65b1f41e65d5f20136de0bd01f154ecf4134eaf8.tar.gz |
Rerun all tests
Diffstat (limited to 'tests/cassettes/test_account_pinned.yaml')
-rw-r--r-- | tests/cassettes/test_account_pinned.yaml | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/tests/cassettes/test_account_pinned.yaml b/tests/cassettes/test_account_pinned.yaml index 7c491c0..94766fd 100644 --- a/tests/cassettes/test_account_pinned.yaml +++ b/tests/cassettes/test_account_pinned.yaml | |||
@@ -8,18 +8,18 @@ interactions: | |||
8 | Connection: [keep-alive] | 8 | Connection: [keep-alive] |
9 | Content-Length: ['14'] | 9 | Content-Length: ['14'] |
10 | Content-Type: [application/x-www-form-urlencoded] | 10 | Content-Type: [application/x-www-form-urlencoded] |
11 | User-Agent: [python-requests/2.9.1] | 11 | User-Agent: [python-requests/2.18.4] |
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":"100154003559888698","created_at":"2018-06-05T20:00:14.337Z","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/100154003559888698","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154003559888698","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 15 | body: {string: '{"id":"100369506780878246","created_at":"2018-07-13T21:25:32.283Z","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/100369506780878246","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369506780878246","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,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI | 17 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","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":1,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"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":32,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"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/"7316bc82f1a73a12113f2ee83aed746a"] | 22 | ETag: [W/"489fab8994edd48d59f6c939bcc2db53"] |
23 | Referrer-Policy: [strict-origin-when-cross-origin] | 23 | Referrer-Policy: [strict-origin-when-cross-origin] |
24 | Transfer-Encoding: [chunked] | 24 | Transfer-Encoding: [chunked] |
25 | Vary: ['Accept-Encoding, Origin'] | 25 | Vary: ['Accept-Encoding, Origin'] |
@@ -27,10 +27,10 @@ interactions: | |||
27 | X-Download-Options: [noopen] | 27 | X-Download-Options: [noopen] |
28 | X-Frame-Options: [SAMEORIGIN] | 28 | X-Frame-Options: [SAMEORIGIN] |
29 | X-Permitted-Cross-Domain-Policies: [none] | 29 | X-Permitted-Cross-Domain-Policies: [none] |
30 | X-Request-Id: [2044d3e3-4d20-4826-8349-e6f504be9e31] | 30 | X-Request-Id: [dd1a86c2-391f-43e2-a185-f4bb524fa50b] |
31 | X-Runtime: ['6.388939'] | 31 | X-Runtime: ['0.118100'] |
32 | X-XSS-Protection: [1; mode=block] | 32 | X-XSS-Protection: [1; mode=block] |
33 | content-length: ['1504'] | 33 | content-length: ['1509'] |
34 | status: {code: 200, message: OK} | 34 | status: {code: 200, message: OK} |
35 | - request: | 35 | - request: |
36 | body: status=Toot%2C+too%21 | 36 | body: status=Toot%2C+too%21 |
@@ -41,19 +41,19 @@ interactions: | |||
41 | Connection: [keep-alive] | 41 | Connection: [keep-alive] |
42 | Content-Length: ['21'] | 42 | Content-Length: ['21'] |
43 | Content-Type: [application/x-www-form-urlencoded] | 43 | Content-Type: [application/x-www-form-urlencoded] |
44 | User-Agent: [python-requests/2.9.1] | 44 | User-Agent: [python-requests/2.18.4] |
45 | method: POST | 45 | method: POST |
46 | uri: http://localhost:3000/api/v1/statuses | 46 | uri: http://localhost:3000/api/v1/statuses |
47 | response: | 47 | response: |
48 | body: {string: '{"id":"100154003979439257","created_at":"2018-06-05T20:00:20.589Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"mi","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154003979439257","content":"\u003cp\u003eToot, | 48 | body: {string: '{"id":"100369506791208372","created_at":"2018-07-13T21:25:32.453Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"mi","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369506791208372","content":"\u003cp\u003eToot, |
49 | too!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154003979439257","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 49 | too!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369506791208372","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
50 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 50 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
51 | Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI | 51 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","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":2,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"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_.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":33,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"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/"29a1a5e887ba4a0a74aab0c3b3b7d543"] | 56 | ETag: [W/"131bf28dbb494a9b83b88cbdc57fb652"] |
57 | Referrer-Policy: [strict-origin-when-cross-origin] | 57 | Referrer-Policy: [strict-origin-when-cross-origin] |
58 | Transfer-Encoding: [chunked] | 58 | Transfer-Encoding: [chunked] |
59 | Vary: ['Accept-Encoding, Origin'] | 59 | Vary: ['Accept-Encoding, Origin'] |
@@ -61,10 +61,10 @@ interactions: | |||
61 | X-Download-Options: [noopen] | 61 | X-Download-Options: [noopen] |
62 | X-Frame-Options: [SAMEORIGIN] | 62 | X-Frame-Options: [SAMEORIGIN] |
63 | X-Permitted-Cross-Domain-Policies: [none] | 63 | X-Permitted-Cross-Domain-Policies: [none] |
64 | X-Request-Id: [9aabad72-2635-4bbb-8a47-0c4189c76c0d] | 64 | X-Request-Id: [c9996933-0130-4cc5-b9ab-1aeade454484] |
65 | X-Runtime: ['0.716780'] | 65 | X-Runtime: ['0.223457'] |
66 | X-XSS-Protection: [1; mode=block] | 66 | X-XSS-Protection: [1; mode=block] |
67 | content-length: ['1509'] | 67 | content-length: ['1514'] |
68 | status: {code: 200, message: OK} | 68 | status: {code: 200, message: OK} |
69 | - request: | 69 | - request: |
70 | body: null | 70 | body: null |
@@ -74,18 +74,18 @@ interactions: | |||
74 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 74 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
75 | Connection: [keep-alive] | 75 | Connection: [keep-alive] |
76 | Content-Length: ['0'] | 76 | Content-Length: ['0'] |
77 | User-Agent: [python-requests/2.9.1] | 77 | User-Agent: [python-requests/2.18.4] |
78 | method: POST | 78 | method: POST |
79 | uri: http://localhost:3000/api/v1/statuses/100154003559888698/pin | 79 | uri: http://localhost:3000/api/v1/statuses/100369506780878246/pin |
80 | response: | 80 | response: |
81 | body: {string: '{"id":"100154003559888698","created_at":"2018-06-05T20:00:14.337Z","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/100154003559888698","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154003559888698","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py | 81 | body: {string: '{"id":"100369506780878246","created_at":"2018-07-13T21:25:32.283Z","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/100369506780878246","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369506780878246","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py |
82 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 82 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
83 | Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI | 83 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
84 | 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":2,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 84 | 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":33,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
85 | headers: | 85 | headers: |
86 | Cache-Control: ['max-age=0, private, must-revalidate'] | 86 | Cache-Control: ['max-age=0, private, must-revalidate'] |
87 | Content-Type: [application/json; charset=utf-8] | 87 | Content-Type: [application/json; charset=utf-8] |
88 | ETag: [W/"f17356c501904f4347c6313fb6d43711"] | 88 | ETag: [W/"1cae5becc811c6b382e34a0bed7ad77e"] |
89 | Referrer-Policy: [strict-origin-when-cross-origin] | 89 | Referrer-Policy: [strict-origin-when-cross-origin] |
90 | Transfer-Encoding: [chunked] | 90 | Transfer-Encoding: [chunked] |
91 | Vary: ['Accept-Encoding, Origin'] | 91 | Vary: ['Accept-Encoding, Origin'] |
@@ -93,10 +93,10 @@ interactions: | |||
93 | X-Download-Options: [noopen] | 93 | X-Download-Options: [noopen] |
94 | X-Frame-Options: [SAMEORIGIN] | 94 | X-Frame-Options: [SAMEORIGIN] |
95 | X-Permitted-Cross-Domain-Policies: [none] | 95 | X-Permitted-Cross-Domain-Policies: [none] |
96 | X-Request-Id: [1ddb62ef-ea4d-4381-98f7-2d86a41347df] | 96 | X-Request-Id: [7dccb1cf-3838-467b-8d3a-dba1dec44758] |
97 | X-Runtime: ['0.858412'] | 97 | X-Runtime: ['0.138221'] |
98 | X-XSS-Protection: [1; mode=block] | 98 | X-XSS-Protection: [1; mode=block] |
99 | content-length: ['1503'] | 99 | content-length: ['1508'] |
100 | status: {code: 200, message: OK} | 100 | status: {code: 200, message: OK} |
101 | - request: | 101 | - request: |
102 | body: null | 102 | body: null |
@@ -105,18 +105,18 @@ interactions: | |||
105 | Accept-Encoding: ['gzip, deflate'] | 105 | Accept-Encoding: ['gzip, deflate'] |
106 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 106 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
107 | Connection: [keep-alive] | 107 | Connection: [keep-alive] |
108 | User-Agent: [python-requests/2.9.1] | 108 | User-Agent: [python-requests/2.18.4] |
109 | method: GET | 109 | method: GET |
110 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 110 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
111 | response: | 111 | response: |
112 | body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 112 | body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
113 | Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI | 113 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
114 | 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":2,"source":{"privacy":"public","sensitive":false,"note":"I | 114 | 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":33,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I |
115 | walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'} | 115 | walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'} |
116 | headers: | 116 | headers: |
117 | Cache-Control: ['max-age=0, private, must-revalidate'] | 117 | Cache-Control: ['max-age=0, private, must-revalidate'] |
118 | Content-Type: [application/json; charset=utf-8] | 118 | Content-Type: [application/json; charset=utf-8] |
119 | ETag: [W/"99b059fb73a292f0e35b78e194eff942"] | 119 | ETag: [W/"f648e4ae25b4ffd966e05a0ca1f2f8fd"] |
120 | Referrer-Policy: [strict-origin-when-cross-origin] | 120 | Referrer-Policy: [strict-origin-when-cross-origin] |
121 | Transfer-Encoding: [chunked] | 121 | Transfer-Encoding: [chunked] |
122 | Vary: ['Accept-Encoding, Origin'] | 122 | Vary: ['Accept-Encoding, Origin'] |
@@ -124,10 +124,10 @@ interactions: | |||
124 | X-Download-Options: [noopen] | 124 | X-Download-Options: [noopen] |
125 | X-Frame-Options: [SAMEORIGIN] | 125 | X-Frame-Options: [SAMEORIGIN] |
126 | X-Permitted-Cross-Domain-Policies: [none] | 126 | X-Permitted-Cross-Domain-Policies: [none] |
127 | X-Request-Id: [c1285531-92f7-4306-9a3d-35e0371145ad] | 127 | X-Request-Id: [380ce39c-ecf3-434b-a3ab-8c99996c9a63] |
128 | X-Runtime: ['0.142102'] | 128 | X-Runtime: ['0.053303'] |
129 | X-XSS-Protection: [1; mode=block] | 129 | X-XSS-Protection: [1; mode=block] |
130 | content-length: ['1019'] | 130 | content-length: ['1040'] |
131 | status: {code: 200, message: OK} | 131 | status: {code: 200, message: OK} |
132 | - request: | 132 | - request: |
133 | body: null | 133 | body: null |
@@ -136,19 +136,19 @@ interactions: | |||
136 | Accept-Encoding: ['gzip, deflate'] | 136 | Accept-Encoding: ['gzip, deflate'] |
137 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 137 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
138 | Connection: [keep-alive] | 138 | Connection: [keep-alive] |
139 | User-Agent: [python-requests/2.9.1] | 139 | User-Agent: [python-requests/2.18.4] |
140 | method: GET | 140 | method: GET |
141 | uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?pinned=True | 141 | uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?pinned=True |
142 | response: | 142 | response: |
143 | body: {string: '[{"id":"100154003559888698","created_at":"2018-06-05T20:00:14.337Z","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/100154003559888698","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154003559888698","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py | 143 | body: {string: '[{"id":"100369506780878246","created_at":"2018-07-13T21:25:32.283Z","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/100369506780878246","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369506780878246","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py |
144 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 144 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
145 | Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI | 145 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
146 | 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":2,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} | 146 | 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":33,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} |
147 | headers: | 147 | headers: |
148 | Cache-Control: ['max-age=0, private, must-revalidate'] | 148 | Cache-Control: ['max-age=0, private, must-revalidate'] |
149 | Content-Type: [application/json; charset=utf-8] | 149 | Content-Type: [application/json; charset=utf-8] |
150 | ETag: [W/"2edaf17d7736f458f92e3480959b0ffd"] | 150 | ETag: [W/"d16138fe3c1d6cca74ba35fbd34b658c"] |
151 | Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?since_id=100154003559888698>; | 151 | Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?since_id=100369506780878246>; |
152 | rel="prev"'] | 152 | rel="prev"'] |
153 | Referrer-Policy: [strict-origin-when-cross-origin] | 153 | Referrer-Policy: [strict-origin-when-cross-origin] |
154 | Transfer-Encoding: [chunked] | 154 | Transfer-Encoding: [chunked] |
@@ -157,10 +157,10 @@ interactions: | |||
157 | X-Download-Options: [noopen] | 157 | X-Download-Options: [noopen] |
158 | X-Frame-Options: [SAMEORIGIN] | 158 | X-Frame-Options: [SAMEORIGIN] |
159 | X-Permitted-Cross-Domain-Policies: [none] | 159 | X-Permitted-Cross-Domain-Policies: [none] |
160 | X-Request-Id: [a4fedf85-2801-41fc-b12a-5d6e90ce6ef8] | 160 | X-Request-Id: [a7be5799-f927-489e-bf7e-cb5c63ad57b5] |
161 | X-Runtime: ['0.494962'] | 161 | X-Runtime: ['0.095504'] |
162 | X-XSS-Protection: [1; mode=block] | 162 | X-XSS-Protection: [1; mode=block] |
163 | content-length: ['1505'] | 163 | content-length: ['1510'] |
164 | status: {code: 200, message: OK} | 164 | status: {code: 200, message: OK} |
165 | - request: | 165 | - request: |
166 | body: null | 166 | body: null |
@@ -170,18 +170,18 @@ interactions: | |||
170 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 170 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
171 | Connection: [keep-alive] | 171 | Connection: [keep-alive] |
172 | Content-Length: ['0'] | 172 | Content-Length: ['0'] |
173 | User-Agent: [python-requests/2.9.1] | 173 | User-Agent: [python-requests/2.18.4] |
174 | method: POST | 174 | method: POST |
175 | uri: http://localhost:3000/api/v1/statuses/100154003559888698/unpin | 175 | uri: http://localhost:3000/api/v1/statuses/100369506780878246/unpin |
176 | response: | 176 | response: |
177 | body: {string: '{"id":"100154003559888698","created_at":"2018-06-05T20:00:14.337Z","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/100154003559888698","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154003559888698","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 177 | body: {string: '{"id":"100369506780878246","created_at":"2018-07-13T21:25:32.283Z","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/100369506780878246","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369506780878246","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
178 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 178 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
179 | Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI | 179 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
180 | 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":2,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 180 | 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":33,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
181 | headers: | 181 | headers: |
182 | Cache-Control: ['max-age=0, private, must-revalidate'] | 182 | Cache-Control: ['max-age=0, private, must-revalidate'] |
183 | Content-Type: [application/json; charset=utf-8] | 183 | Content-Type: [application/json; charset=utf-8] |
184 | ETag: [W/"3cfa771fd1c87e3f197a0592b2b49cdd"] | 184 | ETag: [W/"ed55b701a6e9fc2e80510e67dc161830"] |
185 | Referrer-Policy: [strict-origin-when-cross-origin] | 185 | Referrer-Policy: [strict-origin-when-cross-origin] |
186 | Transfer-Encoding: [chunked] | 186 | Transfer-Encoding: [chunked] |
187 | Vary: ['Accept-Encoding, Origin'] | 187 | Vary: ['Accept-Encoding, Origin'] |
@@ -189,10 +189,10 @@ interactions: | |||
189 | X-Download-Options: [noopen] | 189 | X-Download-Options: [noopen] |
190 | X-Frame-Options: [SAMEORIGIN] | 190 | X-Frame-Options: [SAMEORIGIN] |
191 | X-Permitted-Cross-Domain-Policies: [none] | 191 | X-Permitted-Cross-Domain-Policies: [none] |
192 | X-Request-Id: [81396ff8-ab3e-42f2-b8c2-ceed65f69781] | 192 | X-Request-Id: [5102efad-7148-4cb0-9856-b847c641ce52] |
193 | X-Runtime: ['0.312059'] | 193 | X-Runtime: ['0.068389'] |
194 | X-XSS-Protection: [1; mode=block] | 194 | X-XSS-Protection: [1; mode=block] |
195 | content-length: ['1504'] | 195 | content-length: ['1509'] |
196 | status: {code: 200, message: OK} | 196 | status: {code: 200, message: OK} |
197 | - request: | 197 | - request: |
198 | body: null | 198 | body: null |
@@ -202,15 +202,15 @@ interactions: | |||
202 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 202 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
203 | Connection: [keep-alive] | 203 | Connection: [keep-alive] |
204 | Content-Length: ['0'] | 204 | Content-Length: ['0'] |
205 | User-Agent: [python-requests/2.9.1] | 205 | User-Agent: [python-requests/2.18.4] |
206 | method: DELETE | 206 | method: DELETE |
207 | uri: http://localhost:3000/api/v1/statuses/100154003979439257 | 207 | uri: http://localhost:3000/api/v1/statuses/100369506791208372 |
208 | response: | 208 | response: |
209 | body: {string: '{}'} | 209 | body: {string: '{}'} |
210 | headers: | 210 | headers: |
211 | Cache-Control: ['max-age=0, private, must-revalidate'] | 211 | Cache-Control: ['max-age=0, private, must-revalidate'] |
212 | Content-Type: [application/json; charset=utf-8] | 212 | Content-Type: [application/json; charset=utf-8] |
213 | ETag: [W/"3e9e5c58cddfb1953818bed3b5a0416b"] | 213 | ETag: [W/"b548cbda7a0c14af0233583203efeaff"] |
214 | Referrer-Policy: [strict-origin-when-cross-origin] | 214 | Referrer-Policy: [strict-origin-when-cross-origin] |
215 | Transfer-Encoding: [chunked] | 215 | Transfer-Encoding: [chunked] |
216 | Vary: ['Accept-Encoding, Origin'] | 216 | Vary: ['Accept-Encoding, Origin'] |
@@ -218,8 +218,8 @@ interactions: | |||
218 | X-Download-Options: [noopen] | 218 | X-Download-Options: [noopen] |
219 | X-Frame-Options: [SAMEORIGIN] | 219 | X-Frame-Options: [SAMEORIGIN] |
220 | X-Permitted-Cross-Domain-Policies: [none] | 220 | X-Permitted-Cross-Domain-Policies: [none] |
221 | X-Request-Id: [81821474-b5d7-462a-8f81-9b666f41d5dc] | 221 | X-Request-Id: [5a9e92be-af56-49af-b5e0-2f63523c6348] |
222 | X-Runtime: ['0.241922'] | 222 | X-Runtime: ['0.054502'] |
223 | X-XSS-Protection: [1; mode=block] | 223 | X-XSS-Protection: [1; mode=block] |
224 | content-length: ['2'] | 224 | content-length: ['2'] |
225 | status: {code: 200, message: OK} | 225 | status: {code: 200, message: OK} |
@@ -231,15 +231,15 @@ interactions: | |||
231 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 231 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
232 | Connection: [keep-alive] | 232 | Connection: [keep-alive] |
233 | Content-Length: ['0'] | 233 | Content-Length: ['0'] |
234 | User-Agent: [python-requests/2.9.1] | 234 | User-Agent: [python-requests/2.18.4] |
235 | method: DELETE | 235 | method: DELETE |
236 | uri: http://localhost:3000/api/v1/statuses/100154003559888698 | 236 | uri: http://localhost:3000/api/v1/statuses/100369506780878246 |
237 | response: | 237 | response: |
238 | body: {string: '{}'} | 238 | body: {string: '{}'} |
239 | headers: | 239 | headers: |
240 | Cache-Control: ['max-age=0, private, must-revalidate'] | 240 | Cache-Control: ['max-age=0, private, must-revalidate'] |
241 | Content-Type: [application/json; charset=utf-8] | 241 | Content-Type: [application/json; charset=utf-8] |
242 | ETag: [W/"3e9e5c58cddfb1953818bed3b5a0416b"] | 242 | ETag: [W/"b548cbda7a0c14af0233583203efeaff"] |
243 | Referrer-Policy: [strict-origin-when-cross-origin] | 243 | Referrer-Policy: [strict-origin-when-cross-origin] |
244 | Transfer-Encoding: [chunked] | 244 | Transfer-Encoding: [chunked] |
245 | Vary: ['Accept-Encoding, Origin'] | 245 | Vary: ['Accept-Encoding, Origin'] |
@@ -247,8 +247,8 @@ interactions: | |||
247 | X-Download-Options: [noopen] | 247 | X-Download-Options: [noopen] |
248 | X-Frame-Options: [SAMEORIGIN] | 248 | X-Frame-Options: [SAMEORIGIN] |
249 | X-Permitted-Cross-Domain-Policies: [none] | 249 | X-Permitted-Cross-Domain-Policies: [none] |
250 | X-Request-Id: [9be22702-abdc-4ba8-8fdf-4162f1678052] | 250 | X-Request-Id: [93c990cb-9409-4f7d-b265-b1a6afdf1aaf] |
251 | X-Runtime: ['0.202120'] | 251 | X-Runtime: ['0.077463'] |
252 | X-XSS-Protection: [1; mode=block] | 252 | X-XSS-Protection: [1; mode=block] |
253 | content-length: ['2'] | 253 | content-length: ['2'] |
254 | status: {code: 200, message: OK} | 254 | status: {code: 200, message: OK} |