aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_follow_requests.yaml')
-rw-r--r--tests/cassettes/test_follow_requests.yaml73
1 files changed, 53 insertions, 20 deletions
diff --git a/tests/cassettes/test_follow_requests.yaml b/tests/cassettes/test_follow_requests.yaml
index f9b1519..09bb102 100644
--- a/tests/cassettes/test_follow_requests.yaml
+++ b/tests/cassettes/test_follow_requests.yaml
@@ -2,28 +2,61 @@ interactions:
2- request: 2- request:
3 body: null 3 body: null
4 headers: 4 headers:
5 Accept: ['*/*'] 5 Accept:
6 Accept-Encoding: ['gzip, deflate'] 6 - '*/*'
7 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_3] 7 Accept-Encoding:
8 Connection: [keep-alive] 8 - gzip, deflate
9 User-Agent: [python-requests/2.18.4] 9 Authorization:
10 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
11 Connection:
12 - keep-alive
13 User-Agent:
14 - tests/v311
10 method: GET 15 method: GET
11 uri: http://localhost:3000/api/v1/follow_requests 16 uri: http://localhost:3000/api/v1/follow_requests
12 response: 17 response:
13 body: {string: '[]'} 18 body:
19 string: '[{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","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":3,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[]}]'
14 headers: 20 headers:
15 Cache-Control: ['no-cache, no-store'] 21 Cache-Control:
16 Content-Type: [application/json; charset=utf-8] 22 - no-store
17 Referrer-Policy: [strict-origin-when-cross-origin] 23 Content-Security-Policy:
18 Transfer-Encoding: [chunked] 24 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
19 Vary: ['Accept-Encoding, Origin'] 25 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
20 X-Content-Type-Options: [nosniff] 26 style-src ''self'' http://localhost:3000 ''nonce-gf3mHKkRC1rumdR6BBqLpQ=='';
21 X-Download-Options: [noopen] 27 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
22 X-Frame-Options: [SAMEORIGIN] 28 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
23 X-Permitted-Cross-Domain-Policies: [none] 29 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
24 X-Request-Id: [20e67bce-db51-4335-8aa7-9adabc40764d] 30 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
25 X-Runtime: ['0.051242'] 31 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
26 X-XSS-Protection: [1; mode=block] 32 worker-src ''self'' blob: http://localhost:3000'
27 content-length: ['2'] 33 Content-Type:
28 status: {code: 200, message: OK} 34 - application/json; charset=utf-8
35 ETag:
36 - W/"e614b4039f2a8a9f7ac18423d5f529e5"
37 Link:
38 - <http://localhost:3000/api/v1/follow_requests?since_id=1>; rel="prev"
39 Referrer-Policy:
40 - strict-origin-when-cross-origin
41 Transfer-Encoding:
42 - chunked
43 Vary:
44 - Accept, Origin
45 X-Content-Type-Options:
46 - nosniff
47 X-Download-Options:
48 - noopen
49 X-Frame-Options:
50 - SAMEORIGIN
51 X-Permitted-Cross-Domain-Policies:
52 - none
53 X-Request-Id:
54 - bf1a5225-7899-4703-a8c8-24ae8bee41c2
55 X-Runtime:
56 - '0.019455'
57 X-XSS-Protection:
58 - 1; mode=block
59 status:
60 code: 200
61 message: OK
29version: 1 62version: 1
Powered by cgit v1.2.3 (git 2.41.0)