diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-13 16:16:29 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-13 16:16:29 +0200 |
commit | 0e00fced99976d74e972a3c9ca5b762697840a33 (patch) | |
tree | 632f7e06d3e7d81e15f78d8821d39acf59b8301c /tests/cassettes/test_search.yaml | |
parent | c66015a6b0655f865c45587095ca8744a9d61534 (diff) | |
download | mastodon.py-0e00fced99976d74e972a3c9ca5b762697840a33.tar.gz |
fix tests
Diffstat (limited to 'tests/cassettes/test_search.yaml')
-rw-r--r-- | tests/cassettes/test_search.yaml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/cassettes/test_search.yaml b/tests/cassettes/test_search.yaml index f04cb73..8f2d82d 100644 --- a/tests/cassettes/test_search.yaml +++ b/tests/cassettes/test_search.yaml | |||
@@ -16,16 +16,16 @@ interactions: | |||
16 | uri: http://localhost:3000/api/v2/search?q=mastodonpy_test&resolve=1&exclude_unreviewed=1 | 16 | uri: http://localhost:3000/api/v2/search?q=mastodonpy_test&resolve=1&exclude_unreviewed=1 |
17 | response: | 17 | response: |
18 | body: | 18 | body: |
19 | string: '{"accounts":[{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 19 | string: '{"accounts":[{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
20 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 20 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI |
21 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":16,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},{"id":"109336623415600158","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]}],"statuses":[],"hashtags":[]}' | 21 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":28,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},{"id":"109336899303466213","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]}],"statuses":[],"hashtags":[]}' |
22 | headers: | 22 | headers: |
23 | Cache-Control: | 23 | Cache-Control: |
24 | - no-store | 24 | - no-store |
25 | Content-Security-Policy: | 25 | Content-Security-Policy: |
26 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 26 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
27 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 27 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
28 | style-src ''self'' http://localhost:3000 ''nonce-/9TEcccy4yRdCOiZZFLIlg==''; | 28 | style-src ''self'' http://localhost:3000 ''nonce-rh3ZPDFSIsjAfH++0A1YXw==''; |
29 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 29 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
30 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 30 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
31 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 31 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -35,7 +35,7 @@ interactions: | |||
35 | Content-Type: | 35 | Content-Type: |
36 | - application/json; charset=utf-8 | 36 | - application/json; charset=utf-8 |
37 | ETag: | 37 | ETag: |
38 | - W/"e04eb50257eb6a891bb29c9c7f3f337b" | 38 | - W/"d5255c934319e68b9169705edb252b47" |
39 | Referrer-Policy: | 39 | Referrer-Policy: |
40 | - strict-origin-when-cross-origin | 40 | - strict-origin-when-cross-origin |
41 | Transfer-Encoding: | 41 | Transfer-Encoding: |
@@ -51,9 +51,9 @@ interactions: | |||
51 | X-Permitted-Cross-Domain-Policies: | 51 | X-Permitted-Cross-Domain-Policies: |
52 | - none | 52 | - none |
53 | X-Request-Id: | 53 | X-Request-Id: |
54 | - 9d1ae795-165a-43fe-9220-c02a9e524667 | 54 | - e8fa5abe-48d9-4d96-b843-f21ccc2c31a1 |
55 | X-Runtime: | 55 | X-Runtime: |
56 | - '0.021071' | 56 | - '0.020389' |
57 | X-XSS-Protection: | 57 | X-XSS-Protection: |
58 | - 1; mode=block | 58 | - 1; mode=block |
59 | status: | 59 | status: |
@@ -76,16 +76,16 @@ interactions: | |||
76 | uri: http://localhost:3000/api/v2/search?q=mastodonpy_test&resolve=1&exclude_unreviewed=1 | 76 | uri: http://localhost:3000/api/v2/search?q=mastodonpy_test&resolve=1&exclude_unreviewed=1 |
77 | response: | 77 | response: |
78 | body: | 78 | body: |
79 | string: '{"accounts":[{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 79 | string: '{"accounts":[{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
80 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 80 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI |
81 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":16,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},{"id":"109336623415600158","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]}],"statuses":[],"hashtags":[]}' | 81 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":28,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},{"id":"109336899303466213","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]}],"statuses":[],"hashtags":[]}' |
82 | headers: | 82 | headers: |
83 | Cache-Control: | 83 | Cache-Control: |
84 | - no-store | 84 | - no-store |
85 | Content-Security-Policy: | 85 | Content-Security-Policy: |
86 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 86 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
87 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 87 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
88 | style-src ''self'' http://localhost:3000 ''nonce-Srm11KxmN/4/mGutWpkS4w==''; | 88 | style-src ''self'' http://localhost:3000 ''nonce-HqUrmpQJo/ggbF5TlRMcQg==''; |
89 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 89 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
90 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 90 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
91 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 91 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -95,7 +95,7 @@ interactions: | |||
95 | Content-Type: | 95 | Content-Type: |
96 | - application/json; charset=utf-8 | 96 | - application/json; charset=utf-8 |
97 | ETag: | 97 | ETag: |
98 | - W/"e04eb50257eb6a891bb29c9c7f3f337b" | 98 | - W/"d5255c934319e68b9169705edb252b47" |
99 | Referrer-Policy: | 99 | Referrer-Policy: |
100 | - strict-origin-when-cross-origin | 100 | - strict-origin-when-cross-origin |
101 | Transfer-Encoding: | 101 | Transfer-Encoding: |
@@ -111,9 +111,9 @@ interactions: | |||
111 | X-Permitted-Cross-Domain-Policies: | 111 | X-Permitted-Cross-Domain-Policies: |
112 | - none | 112 | - none |
113 | X-Request-Id: | 113 | X-Request-Id: |
114 | - 9ddd481c-c225-46a4-9f1c-6b6d8d270b7d | 114 | - 6ace3885-4f68-42f9-adba-7d3bd5413b25 |
115 | X-Runtime: | 115 | X-Runtime: |
116 | - '0.014104' | 116 | - '0.014392' |
117 | X-XSS-Protection: | 117 | X-XSS-Protection: |
118 | - 1; mode=block | 118 | - 1; mode=block |
119 | status: | 119 | status: |
@@ -143,7 +143,7 @@ interactions: | |||
143 | Content-Security-Policy: | 143 | Content-Security-Policy: |
144 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 144 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
145 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 145 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
146 | style-src ''self'' http://localhost:3000 ''nonce-KjEu0rthFmHPhD8zE9KmsA==''; | 146 | style-src ''self'' http://localhost:3000 ''nonce-JNPrZVBwOUIww5TkBj4+LQ==''; |
147 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 147 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
148 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 148 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
149 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 149 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -169,9 +169,9 @@ interactions: | |||
169 | X-Permitted-Cross-Domain-Policies: | 169 | X-Permitted-Cross-Domain-Policies: |
170 | - none | 170 | - none |
171 | X-Request-Id: | 171 | X-Request-Id: |
172 | - 9d3e1f25-c241-471e-84fe-221012cfe71f | 172 | - fa340d03-17c5-4293-ae68-312d674732f8 |
173 | X-Runtime: | 173 | X-Runtime: |
174 | - '0.006617' | 174 | - '0.007411' |
175 | X-XSS-Protection: | 175 | X-XSS-Protection: |
176 | - 1; mode=block | 176 | - 1; mode=block |
177 | status: | 177 | status: |