diff options
author | Lorenz Diener <[email protected]> | 2018-07-30 20:25:25 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-07-30 20:25:25 +0200 |
commit | 087fb249dad981be4dfbfea13a842bfcc1cd8fd7 (patch) | |
tree | 5226e6a544353fedac0c8ae133188a7d9d510f8a /tests/cassettes/test_follow_request_reject.yaml | |
parent | 8feed51075af332c45e6aacd106550eff2233675 (diff) | |
download | mastodon.py-087fb249dad981be4dfbfea13a842bfcc1cd8fd7.tar.gz |
Fix tests
Diffstat (limited to 'tests/cassettes/test_follow_request_reject.yaml')
-rw-r--r-- | tests/cassettes/test_follow_request_reject.yaml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/cassettes/test_follow_request_reject.yaml b/tests/cassettes/test_follow_request_reject.yaml index 916e792..d5087fa 100644 --- a/tests/cassettes/test_follow_request_reject.yaml +++ b/tests/cassettes/test_follow_request_reject.yaml | |||
@@ -1,12 +1,13 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: null | 3 | body: reblogs=True&id=1234567890123456 |
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_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: ['32'] |
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/1234567890123456/follow | 13 | uri: http://localhost:3000/api/v1/accounts/1234567890123456/follow |
@@ -15,7 +16,7 @@ interactions: | |||
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/"3f1f0210e7ee7ff846ebc784ad5ad194"] | 19 | ETag: [W/"0e7326a77136d46511878c9fb203e88b"] |
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,8 +24,8 @@ 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: [fba6f898-6ea1-4de4-a063-a53643cfc286] | 27 | X-Request-Id: [ec1d931d-897e-4219-9fa1-6166bc762bfd] |
27 | X-Runtime: ['0.042411'] | 28 | X-Runtime: ['0.156235'] |
28 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
29 | content-length: ['188'] | 30 | content-length: ['188'] |
30 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
@@ -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/"bfd3faa192e3a4b3c0dc9e2fe633c178"] | 48 | ETag: [W/"cc038aae2038665db3b200fc78f63649"] |
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: [258bc833-565f-486b-8eee-88838ed05f77] | 56 | X-Request-Id: [cb36e831-38d1-464f-a80a-6996a0e54290] |
56 | X-Runtime: ['0.021558'] | 57 | X-Runtime: ['0.026729'] |
57 | X-XSS-Protection: [1; mode=block] | 58 | X-XSS-Protection: [1; mode=block] |
58 | content-length: ['2'] | 59 | content-length: ['2'] |
59 | status: {code: 200, message: OK} | 60 | status: {code: 200, message: OK} |