aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_follow_suggestions.yaml')
-rw-r--r--tests/cassettes/test_follow_suggestions.yaml58
1 files changed, 29 insertions, 29 deletions
diff --git a/tests/cassettes/test_follow_suggestions.yaml b/tests/cassettes/test_follow_suggestions.yaml
index 07b213b..0c7692b 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":"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 15 body: {string: '{"id":"102945947577618048","created_at":"2019-10-11T21:48:18.932Z","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/102945947577618048","url":"http://localhost/@mastodonpy_test/102945947577618048","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-22T23:11:52.441Z","note":"\u003cp\u003eI 17 Lennon","locked":false,"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?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}'} 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?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2019-10-11T21:48:18.940Z","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,10 +26,10 @@ 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: [74b4a60b-548b-4456-8dc4-8c2db09e1ce8] 29 X-Request-Id: [5ccfc024-60d2-4e15-b9d6-983925d88b9d]
30 X-Runtime: ['0.144928'] 30 X-Runtime: ['0.116754']
31 X-XSS-Protection: [1; mode=block] 31 X-XSS-Protection: [1; mode=block]
32 content-length: ['1597'] 32 content-length: ['1642']
33 status: {code: 200, message: OK} 33 status: {code: 200, message: OK}
34- request: 34- request:
35 body: null 35 body: null
@@ -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/102317288648137516/favourite 44 uri: http://localhost:3000/api/v1/statuses/102945947577618048/favourite
45 response: 45 response:
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 46 body: {string: '{"id":"102945947577618048","created_at":"2019-10-11T21:48:18.932Z","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/102945947577618048","url":"http://localhost/@mastodonpy_test/102945947577618048","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-22T23:11:52.441Z","note":"\u003cp\u003eI 48 Lennon","locked":false,"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?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}'} 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?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2019-10-11T21:48:18.940Z","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,10 +57,10 @@ 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: [a1433cce-1eba-40cd-80a5-71f14c979c9e] 60 X-Request-Id: [5c3738ef-5b92-4b97-b5bf-5fb5cefc401f]
61 X-Runtime: ['0.148043'] 61 X-Runtime: ['0.187720']
62 X-XSS-Protection: [1; mode=block] 62 X-XSS-Protection: [1; mode=block]
63 content-length: ['1581'] 63 content-length: ['1626']
64 status: {code: 200, message: OK} 64 status: {code: 200, message: OK}
65- request: 65- request:
66 body: null 66 body: null
@@ -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-22T23:11:52.441Z","note":"\u003cp\u003eI 77 Lennon","locked":false,"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?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}]}]'} 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?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2019-10-11T21:48:18.940Z","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,10 +86,10 @@ 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: [4156525f-431d-46e3-9268-e687e3692468] 89 X-Request-Id: [f2077d0b-6806-462b-b7f2-93312c3ed012]
90 X-Runtime: ['0.023976'] 90 X-Runtime: ['0.075594']
91 X-XSS-Protection: [1; mode=block] 91 X-XSS-Protection: [1; mode=block]
92 content-length: ['931'] 92 content-length: ['976']
93 status: {code: 200, message: OK} 93 status: {code: 200, message: OK}
94- request: 94- request:
95 body: null 95 body: null
@@ -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: [e133faba-f5d8-4514-9c70-13081627adcf] 117 X-Request-Id: [3a9a8f20-6cdb-450f-b379-27e069c0374e]
118 X-Runtime: ['0.016850'] 118 X-Runtime: ['0.019804']
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: [5d186bcc-78ac-4255-bc72-80ee816e1df0] 144 X-Request-Id: [4a164ac1-f391-4c94-9c3d-ba6f2485515d]
145 X-Runtime: ['0.018158'] 145 X-Runtime: ['0.014533']
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/102317288648137516 159 uri: http://localhost:3000/api/v1/statuses/102945947577618048
160 response: 160 response:
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 161 body: {string: '{"id":"102945947577618048","created_at":"2019-10-11T21:48:18.932Z","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/102945947577618048","url":"http://localhost/@mastodonpy_test/102945947577618048","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-22T23:11:52.441Z","note":"\u003cp\u003eI 163 Lennon","locked":false,"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?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}'} 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?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2019-10-11T21:48:18.940Z","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,9 +172,9 @@ 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: [06e8ef35-6537-44f8-b218-2996d4ed5912] 175 X-Request-Id: [3afd96c1-1de2-4930-b521-52466055d53a]
176 X-Runtime: ['0.081471'] 176 X-Runtime: ['0.112752']
177 X-XSS-Protection: [1; mode=block] 177 X-XSS-Protection: [1; mode=block]
178 content-length: ['1567'] 178 content-length: ['1612']
179 status: {code: 200, message: OK} 179 status: {code: 200, message: OK}
180version: 1 180version: 1
Powered by cgit v1.2.3 (git 2.41.0)