diff options
Diffstat (limited to 'tests/cassettes/test_account_follow_unfollow.yaml')
-rw-r--r-- | tests/cassettes/test_account_follow_unfollow.yaml | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/tests/cassettes/test_account_follow_unfollow.yaml b/tests/cassettes/test_account_follow_unfollow.yaml index ff72257..db8abd3 100644 --- a/tests/cassettes/test_account_follow_unfollow.yaml +++ b/tests/cassettes/test_account_follow_unfollow.yaml | |||
@@ -1,21 +1,22 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: null | 3 | body: reblogs=True&id=1 |
4 | headers: | 4 | headers: |
5 | Accept: ['*/*'] | 5 | Accept: ['*/*'] |
6 | Accept-Encoding: ['gzip, deflate'] | 6 | Accept-Encoding: ['gzip, deflate'] |
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
8 | Connection: [keep-alive] | 8 | Connection: [keep-alive] |
9 | Content-Length: ['0'] | 9 | Content-Length: ['17'] |
10 | Content-Type: [application/x-www-form-urlencoded] | ||
10 | User-Agent: [python-requests/2.18.4] | 11 | User-Agent: [python-requests/2.18.4] |
11 | method: POST | 12 | method: POST |
12 | uri: http://localhost:3000/api/v1/accounts/1/follow | 13 | uri: http://localhost:3000/api/v1/accounts/1/follow |
13 | response: | 14 | response: |
14 | body: {string: '{"id":"1","following":true,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} | 15 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} |
15 | headers: | 16 | headers: |
16 | Cache-Control: ['max-age=0, private, must-revalidate'] | 17 | Cache-Control: ['max-age=0, private, must-revalidate'] |
17 | Content-Type: [application/json; charset=utf-8] | 18 | Content-Type: [application/json; charset=utf-8] |
18 | ETag: [W/"2aac633ba6c8db22698d7975d76a2350"] | 19 | ETag: [W/"da231c42e4f93811b1967ba204ea1826"] |
19 | Referrer-Policy: [strict-origin-when-cross-origin] | 20 | Referrer-Policy: [strict-origin-when-cross-origin] |
20 | Transfer-Encoding: [chunked] | 21 | Transfer-Encoding: [chunked] |
21 | Vary: ['Accept-Encoding, Origin'] | 22 | Vary: ['Accept-Encoding, Origin'] |
@@ -23,10 +24,10 @@ interactions: | |||
23 | X-Download-Options: [noopen] | 24 | X-Download-Options: [noopen] |
24 | X-Frame-Options: [SAMEORIGIN] | 25 | X-Frame-Options: [SAMEORIGIN] |
25 | X-Permitted-Cross-Domain-Policies: [none] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
26 | X-Request-Id: [133f29cb-6a3a-486f-9b2a-745b0439a8ad] | 27 | X-Request-Id: [58de6ff4-5b4d-40ff-acfc-cbacec164fba] |
27 | X-Runtime: ['0.068733'] | 28 | X-Runtime: ['0.133648'] |
28 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
29 | content-length: ['174'] | 30 | content-length: ['173'] |
30 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
31 | - request: | 32 | - request: |
32 | body: null | 33 | body: null |
@@ -44,7 +45,7 @@ interactions: | |||
44 | headers: | 45 | headers: |
45 | Cache-Control: ['max-age=0, private, must-revalidate'] | 46 | Cache-Control: ['max-age=0, private, must-revalidate'] |
46 | Content-Type: [application/json; charset=utf-8] | 47 | Content-Type: [application/json; charset=utf-8] |
47 | ETag: [W/"567fcb76cedd3fab2d295958338f60e1"] | 48 | ETag: [W/"aa5045a7c507295fb5399be2a201fd0a"] |
48 | Referrer-Policy: [strict-origin-when-cross-origin] | 49 | Referrer-Policy: [strict-origin-when-cross-origin] |
49 | Transfer-Encoding: [chunked] | 50 | Transfer-Encoding: [chunked] |
50 | Vary: ['Accept-Encoding, Origin'] | 51 | Vary: ['Accept-Encoding, Origin'] |
@@ -52,8 +53,8 @@ interactions: | |||
52 | X-Download-Options: [noopen] | 53 | X-Download-Options: [noopen] |
53 | X-Frame-Options: [SAMEORIGIN] | 54 | X-Frame-Options: [SAMEORIGIN] |
54 | X-Permitted-Cross-Domain-Policies: [none] | 55 | X-Permitted-Cross-Domain-Policies: [none] |
55 | X-Request-Id: [18d3baab-c960-4eb9-842f-8e9a8be1bcd5] | 56 | X-Request-Id: [6500e743-3e55-4931-a7de-3433017b2892] |
56 | X-Runtime: ['0.075583'] | 57 | X-Runtime: ['0.117442'] |
57 | X-XSS-Protection: [1; mode=block] | 58 | X-XSS-Protection: [1; mode=block] |
58 | content-length: ['175'] | 59 | content-length: ['175'] |
59 | status: {code: 200, message: OK} | 60 | status: {code: 200, message: OK} |