diff options
Diffstat (limited to 'tests/cassettes/test_follow_request_authorize.yaml')
-rw-r--r-- | tests/cassettes/test_follow_request_authorize.yaml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/cassettes/test_follow_request_authorize.yaml b/tests/cassettes/test_follow_request_authorize.yaml index 0cb8487..fb91e01 100644 --- a/tests/cassettes/test_follow_request_authorize.yaml +++ b/tests/cassettes/test_follow_request_authorize.yaml | |||
@@ -7,23 +7,23 @@ interactions: | |||
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | 7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] |
8 | Connection: [keep-alive] | 8 | Connection: [keep-alive] |
9 | Content-Length: ['0'] | 9 | Content-Length: ['0'] |
10 | User-Agent: [python-requests/2.18.4] | 10 | User-Agent: [python-requests/2.9.1] |
11 | method: POST | 11 | method: POST |
12 | uri: http://localhost:3000/api/v1/accounts/1234567890123456/follow | 12 | uri: http://localhost:3000/api/v1/accounts/1234567890123456/follow |
13 | response: | 13 | response: |
14 | body: {string: '{"id":"1234567890123456","following":false,"followed_by":false,"blocking":false,"muting":false,"requested":true,"domain_blocking":false}'} | 14 | body: {string: '{"id":"1234567890123456","following":false,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":true,"domain_blocking":false}'} |
15 | headers: | 15 | headers: |
16 | Cache-Control: ['max-age=0, private, must-revalidate'] | 16 | Cache-Control: ['max-age=0, private, must-revalidate'] |
17 | Content-Type: [application/json; charset=utf-8] | 17 | Content-Type: [application/json; charset=utf-8] |
18 | ETag: [W/"39b04ee179b7c6820c81f24224090155"] | 18 | ETag: [W/"c64083bd2e9e2c9da5d97d3e2aaf65cb"] |
19 | Transfer-Encoding: [chunked] | 19 | Transfer-Encoding: [chunked] |
20 | Vary: ['Accept-Encoding, Origin'] | 20 | Vary: ['Accept-Encoding, Origin'] |
21 | X-Content-Type-Options: [nosniff] | 21 | X-Content-Type-Options: [nosniff] |
22 | X-Frame-Options: [SAMEORIGIN] | 22 | X-Frame-Options: [SAMEORIGIN] |
23 | X-Request-Id: [ff6e83a7-8f9e-4e71-91fe-ab3d12a7b379] | 23 | X-Request-Id: [581837a1-60ed-47a4-8532-002a37bc220d] |
24 | X-Runtime: ['0.073482'] | 24 | X-Runtime: ['0.123469'] |
25 | X-XSS-Protection: [1; mode=block] | 25 | X-XSS-Protection: [1; mode=block] |
26 | content-length: ['136'] | 26 | content-length: ['188'] |
27 | status: {code: 200, message: OK} | 27 | status: {code: 200, message: OK} |
28 | - request: | 28 | - request: |
29 | body: null | 29 | body: null |
@@ -33,7 +33,7 @@ interactions: | |||
33 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 33 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
34 | Connection: [keep-alive] | 34 | Connection: [keep-alive] |
35 | Content-Length: ['0'] | 35 | Content-Length: ['0'] |
36 | User-Agent: [python-requests/2.18.4] | 36 | User-Agent: [python-requests/2.9.1] |
37 | method: POST | 37 | method: POST |
38 | uri: http://localhost:3000/api/v1/follow_requests/1/authorize | 38 | uri: http://localhost:3000/api/v1/follow_requests/1/authorize |
39 | response: | 39 | response: |
@@ -41,13 +41,13 @@ interactions: | |||
41 | headers: | 41 | headers: |
42 | Cache-Control: ['max-age=0, private, must-revalidate'] | 42 | Cache-Control: ['max-age=0, private, must-revalidate'] |
43 | Content-Type: [application/json; charset=utf-8] | 43 | Content-Type: [application/json; charset=utf-8] |
44 | ETag: [W/"25cc8a12b4a7526df56e78049197b9fc"] | 44 | ETag: [W/"22373afedef13443fef6492eb2a68e66"] |
45 | Transfer-Encoding: [chunked] | 45 | Transfer-Encoding: [chunked] |
46 | Vary: ['Accept-Encoding, Origin'] | 46 | Vary: ['Accept-Encoding, Origin'] |
47 | X-Content-Type-Options: [nosniff] | 47 | X-Content-Type-Options: [nosniff] |
48 | X-Frame-Options: [SAMEORIGIN] | 48 | X-Frame-Options: [SAMEORIGIN] |
49 | X-Request-Id: [e7e70867-7816-42f7-bdfa-994f6bd2dbbc] | 49 | X-Request-Id: [9cd9cb5a-e5ed-4f9d-b99f-94915e040005] |
50 | X-Runtime: ['0.040458'] | 50 | X-Runtime: ['0.096094'] |
51 | X-XSS-Protection: [1; mode=block] | 51 | X-XSS-Protection: [1; mode=block] |
52 | content-length: ['2'] | 52 | content-length: ['2'] |
53 | status: {code: 200, message: OK} | 53 | status: {code: 200, message: OK} |
@@ -59,22 +59,22 @@ interactions: | |||
59 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | 59 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] |
60 | Connection: [keep-alive] | 60 | Connection: [keep-alive] |
61 | Content-Length: ['0'] | 61 | Content-Length: ['0'] |
62 | User-Agent: [python-requests/2.18.4] | 62 | User-Agent: [python-requests/2.9.1] |
63 | method: POST | 63 | method: POST |
64 | uri: http://localhost:3000/api/v1/accounts/1234567890123456/unfollow | 64 | uri: http://localhost:3000/api/v1/accounts/1234567890123456/unfollow |
65 | response: | 65 | response: |
66 | body: {string: '{"id":"1234567890123456","following":false,"followed_by":false,"blocking":false,"muting":false,"requested":false,"domain_blocking":false}'} | 66 | body: {string: '{"id":"1234567890123456","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} |
67 | headers: | 67 | headers: |
68 | Cache-Control: ['max-age=0, private, must-revalidate'] | 68 | Cache-Control: ['max-age=0, private, must-revalidate'] |
69 | Content-Type: [application/json; charset=utf-8] | 69 | Content-Type: [application/json; charset=utf-8] |
70 | ETag: [W/"fc9790ae7d4aa4b12007bc0900ea9c72"] | 70 | ETag: [W/"d59e6faa8506a5a44211ad29fa1c8fe1"] |
71 | Transfer-Encoding: [chunked] | 71 | Transfer-Encoding: [chunked] |
72 | Vary: ['Accept-Encoding, Origin'] | 72 | Vary: ['Accept-Encoding, Origin'] |
73 | X-Content-Type-Options: [nosniff] | 73 | X-Content-Type-Options: [nosniff] |
74 | X-Frame-Options: [SAMEORIGIN] | 74 | X-Frame-Options: [SAMEORIGIN] |
75 | X-Request-Id: [a651ddce-80d0-484b-a2f2-6c5fb6377d06] | 75 | X-Request-Id: [1ef6642f-f8fd-43c3-9105-460bacafbd7c] |
76 | X-Runtime: ['0.040597'] | 76 | X-Runtime: ['0.141057'] |
77 | X-XSS-Protection: [1; mode=block] | 77 | X-XSS-Protection: [1; mode=block] |
78 | content-length: ['137'] | 78 | content-length: ['190'] |
79 | status: {code: 200, message: OK} | 79 | status: {code: 200, message: OK} |
80 | version: 1 | 80 | version: 1 |