diff options
Diffstat (limited to 'tests/cassettes/test_follow_suggestions.yaml')
-rw-r--r-- | tests/cassettes/test_follow_suggestions.yaml | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/tests/cassettes/test_follow_suggestions.yaml b/tests/cassettes/test_follow_suggestions.yaml index 85e0f60..07b213b 100644 --- a/tests/cassettes/test_follow_suggestions.yaml +++ b/tests/cassettes/test_follow_suggestions.yaml | |||
@@ -12,10 +12,10 @@ 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":"102315364694961970","created_at":"2019-06-22T13:02:47.745Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315364694961970","url":"http://localhost/@mastodonpy_test/102315364694961970","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 15 | body: {string: '{"id":"102317288648137516","created_at":"2019-06-22T21:12:04.935Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317288648137516","url":"http://localhost/@mastodonpy_test/102317288648137516","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","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":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | 17 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI |
18 | 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}'} | 18 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","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}'} |
19 | headers: | 19 | headers: |
20 | Cache-Control: ['no-cache, no-store'] | 20 | Cache-Control: ['no-cache, no-store'] |
21 | Content-Type: [application/json; charset=utf-8] | 21 | Content-Type: [application/json; charset=utf-8] |
@@ -26,8 +26,8 @@ interactions: | |||
26 | X-Download-Options: [noopen] | 26 | X-Download-Options: [noopen] |
27 | X-Frame-Options: [SAMEORIGIN] | 27 | X-Frame-Options: [SAMEORIGIN] |
28 | X-Permitted-Cross-Domain-Policies: [none] | 28 | X-Permitted-Cross-Domain-Policies: [none] |
29 | X-Request-Id: [7fc9961a-bd11-4027-bd72-e5c8e51faae8] | 29 | X-Request-Id: [74b4a60b-548b-4456-8dc4-8c2db09e1ce8] |
30 | X-Runtime: ['0.322650'] | 30 | X-Runtime: ['0.144928'] |
31 | X-XSS-Protection: [1; mode=block] | 31 | X-XSS-Protection: [1; mode=block] |
32 | content-length: ['1597'] | 32 | content-length: ['1597'] |
33 | status: {code: 200, message: OK} | 33 | status: {code: 200, message: OK} |
@@ -41,12 +41,12 @@ interactions: | |||
41 | Content-Length: ['0'] | 41 | Content-Length: ['0'] |
42 | User-Agent: [python-requests/2.18.4] | 42 | User-Agent: [python-requests/2.18.4] |
43 | method: POST | 43 | method: POST |
44 | uri: http://localhost:3000/api/v1/statuses/102315364694961970/favourite | 44 | uri: http://localhost:3000/api/v1/statuses/102317288648137516/favourite |
45 | response: | 45 | response: |
46 | body: {string: '{"id":"102315364694961970","created_at":"2019-06-22T13:02:47.745Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315364694961970","url":"http://localhost/@mastodonpy_test/102315364694961970","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 46 | body: {string: '{"id":"102317288648137516","created_at":"2019-06-22T21:12:04.935Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317288648137516","url":"http://localhost/@mastodonpy_test/102317288648137516","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
47 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 47 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
48 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | 48 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI |
49 | 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}'} | 49 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","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}'} |
50 | headers: | 50 | headers: |
51 | Cache-Control: ['no-cache, no-store'] | 51 | Cache-Control: ['no-cache, no-store'] |
52 | Content-Type: [application/json; charset=utf-8] | 52 | Content-Type: [application/json; charset=utf-8] |
@@ -57,8 +57,8 @@ interactions: | |||
57 | X-Download-Options: [noopen] | 57 | X-Download-Options: [noopen] |
58 | X-Frame-Options: [SAMEORIGIN] | 58 | X-Frame-Options: [SAMEORIGIN] |
59 | X-Permitted-Cross-Domain-Policies: [none] | 59 | X-Permitted-Cross-Domain-Policies: [none] |
60 | X-Request-Id: [d91b5a3d-b23f-42ed-b571-8dc7a353e620] | 60 | X-Request-Id: [a1433cce-1eba-40cd-80a5-71f14c979c9e] |
61 | X-Runtime: ['0.563459'] | 61 | X-Runtime: ['0.148043'] |
62 | X-XSS-Protection: [1; mode=block] | 62 | X-XSS-Protection: [1; mode=block] |
63 | content-length: ['1581'] | 63 | content-length: ['1581'] |
64 | status: {code: 200, message: OK} | 64 | status: {code: 200, message: OK} |
@@ -74,8 +74,8 @@ interactions: | |||
74 | uri: http://localhost:3000/api/v1/suggestions | 74 | uri: http://localhost:3000/api/v1/suggestions |
75 | response: | 75 | response: |
76 | body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 76 | body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
77 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | 77 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI |
78 | 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}]}]'} | 78 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","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}]}]'} |
79 | headers: | 79 | headers: |
80 | Cache-Control: ['no-cache, no-store'] | 80 | Cache-Control: ['no-cache, no-store'] |
81 | Content-Type: [application/json; charset=utf-8] | 81 | Content-Type: [application/json; charset=utf-8] |
@@ -86,8 +86,8 @@ interactions: | |||
86 | X-Download-Options: [noopen] | 86 | X-Download-Options: [noopen] |
87 | X-Frame-Options: [SAMEORIGIN] | 87 | X-Frame-Options: [SAMEORIGIN] |
88 | X-Permitted-Cross-Domain-Policies: [none] | 88 | X-Permitted-Cross-Domain-Policies: [none] |
89 | X-Request-Id: [c841953f-e1be-4c9a-a661-ce5fcff3c30a] | 89 | X-Request-Id: [4156525f-431d-46e3-9268-e687e3692468] |
90 | X-Runtime: ['0.059090'] | 90 | X-Runtime: ['0.023976'] |
91 | X-XSS-Protection: [1; mode=block] | 91 | X-XSS-Protection: [1; mode=block] |
92 | content-length: ['931'] | 92 | content-length: ['931'] |
93 | status: {code: 200, message: OK} | 93 | status: {code: 200, message: OK} |
@@ -114,8 +114,8 @@ interactions: | |||
114 | X-Download-Options: [noopen] | 114 | X-Download-Options: [noopen] |
115 | X-Frame-Options: [SAMEORIGIN] | 115 | X-Frame-Options: [SAMEORIGIN] |
116 | X-Permitted-Cross-Domain-Policies: [none] | 116 | X-Permitted-Cross-Domain-Policies: [none] |
117 | X-Request-Id: [f599a468-8bd0-4be1-b4a0-fd7e6b1f7cbd] | 117 | X-Request-Id: [e133faba-f5d8-4514-9c70-13081627adcf] |
118 | X-Runtime: ['0.082804'] | 118 | X-Runtime: ['0.016850'] |
119 | X-XSS-Protection: [1; mode=block] | 119 | X-XSS-Protection: [1; mode=block] |
120 | content-length: ['2'] | 120 | content-length: ['2'] |
121 | status: {code: 200, message: OK} | 121 | status: {code: 200, message: OK} |
@@ -141,8 +141,8 @@ interactions: | |||
141 | X-Download-Options: [noopen] | 141 | X-Download-Options: [noopen] |
142 | X-Frame-Options: [SAMEORIGIN] | 142 | X-Frame-Options: [SAMEORIGIN] |
143 | X-Permitted-Cross-Domain-Policies: [none] | 143 | X-Permitted-Cross-Domain-Policies: [none] |
144 | X-Request-Id: [a99fc0ef-84a1-4aa7-a00d-7cb0be952f0a] | 144 | X-Request-Id: [5d186bcc-78ac-4255-bc72-80ee816e1df0] |
145 | X-Runtime: ['0.027385'] | 145 | X-Runtime: ['0.018158'] |
146 | X-XSS-Protection: [1; mode=block] | 146 | X-XSS-Protection: [1; mode=block] |
147 | content-length: ['2'] | 147 | content-length: ['2'] |
148 | status: {code: 200, message: OK} | 148 | status: {code: 200, message: OK} |
@@ -156,12 +156,12 @@ interactions: | |||
156 | Content-Length: ['0'] | 156 | Content-Length: ['0'] |
157 | User-Agent: [python-requests/2.18.4] | 157 | User-Agent: [python-requests/2.18.4] |
158 | method: DELETE | 158 | method: DELETE |
159 | uri: http://localhost:3000/api/v1/statuses/102315364694961970 | 159 | uri: http://localhost:3000/api/v1/statuses/102317288648137516 |
160 | response: | 160 | response: |
161 | body: {string: '{"id":"102315364694961970","created_at":"2019-06-22T13:02:47.745Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315364694961970","url":"http://localhost/@mastodonpy_test/102315364694961970","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py | 161 | body: {string: '{"id":"102317288648137516","created_at":"2019-06-22T21:12:04.935Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317288648137516","url":"http://localhost/@mastodonpy_test/102317288648137516","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py |
162 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 162 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
163 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | 163 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI |
164 | 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}'} | 164 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","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}'} |
165 | headers: | 165 | headers: |
166 | Cache-Control: ['no-cache, no-store'] | 166 | Cache-Control: ['no-cache, no-store'] |
167 | Content-Type: [application/json; charset=utf-8] | 167 | Content-Type: [application/json; charset=utf-8] |
@@ -172,8 +172,8 @@ interactions: | |||
172 | X-Download-Options: [noopen] | 172 | X-Download-Options: [noopen] |
173 | X-Frame-Options: [SAMEORIGIN] | 173 | X-Frame-Options: [SAMEORIGIN] |
174 | X-Permitted-Cross-Domain-Policies: [none] | 174 | X-Permitted-Cross-Domain-Policies: [none] |
175 | X-Request-Id: [0ccbf81f-4930-4b85-bb78-5b0d9c724c42] | 175 | X-Request-Id: [06e8ef35-6537-44f8-b218-2996d4ed5912] |
176 | X-Runtime: ['0.132072'] | 176 | X-Runtime: ['0.081471'] |
177 | X-XSS-Protection: [1; mode=block] | 177 | X-XSS-Protection: [1; mode=block] |
178 | content-length: ['1567'] | 178 | content-length: ['1567'] |
179 | status: {code: 200, message: OK} | 179 | status: {code: 200, message: OK} |