aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-07-30 23:19:51 +0200
committerLorenz Diener <[email protected]>2018-07-30 23:19:51 +0200
commitd0c71b1a8497a3047f630cd1926f803a5190d7aa (patch)
treef52a76a1160e768de4519e31548a5d1cb1c29c6f /tests/cassettes/test_follow_request_authorize.yaml
parent8b06b53ed50e41411857181e4881e54823ed661b (diff)
downloadmastodon.py-d0c71b1a8497a3047f630cd1926f803a5190d7aa.tar.gz
Fresh set of tests pre-release
Diffstat (limited to 'tests/cassettes/test_follow_request_authorize.yaml')
-rw-r--r--tests/cassettes/test_follow_request_authorize.yaml30
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/cassettes/test_follow_request_authorize.yaml b/tests/cassettes/test_follow_request_authorize.yaml
index af531f6..219c109 100644
--- a/tests/cassettes/test_follow_request_authorize.yaml
+++ b/tests/cassettes/test_follow_request_authorize.yaml
@@ -1,22 +1,22 @@
1interactions: 1interactions:
2- request: 2- request:
3 body: reblogs=True&id=1234567890123456 3 body: reblogs=1&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: ['32'] 9 Content-Length: ['29']
10 Content-Type: [application/x-www-form-urlencoded] 10 Content-Type: [application/x-www-form-urlencoded]
11 User-Agent: [python-requests/2.18.4] 11 User-Agent: [python-requests/2.18.4]
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/accounts/1234567890123456/follow 13 uri: http://localhost:3000/api/v1/accounts/1234567890123456/follow
14 response: 14 response:
15 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 body: {string: '{"id":"1234567890123456","following":false,"showing_reblogs":true,"followed_by":true,"blocking":false,"muting":false,"muting_notifications":false,"requested":true,"domain_blocking":false}'}
16 headers: 16 headers:
17 Cache-Control: ['max-age=0, private, must-revalidate'] 17 Cache-Control: ['max-age=0, private, must-revalidate']
18 Content-Type: [application/json; charset=utf-8] 18 Content-Type: [application/json; charset=utf-8]
19 ETag: [W/"1b53bbbf2157ed6dfbc2ebff1bae575a"] 19 ETag: [W/"5d58d51de45c78c49b13ffafa455ec4a"]
20 Referrer-Policy: [strict-origin-when-cross-origin] 20 Referrer-Policy: [strict-origin-when-cross-origin]
21 Transfer-Encoding: [chunked] 21 Transfer-Encoding: [chunked]
22 Vary: ['Accept-Encoding, Origin'] 22 Vary: ['Accept-Encoding, Origin']
@@ -24,10 +24,10 @@ interactions:
24 X-Download-Options: [noopen] 24 X-Download-Options: [noopen]
25 X-Frame-Options: [SAMEORIGIN] 25 X-Frame-Options: [SAMEORIGIN]
26 X-Permitted-Cross-Domain-Policies: [none] 26 X-Permitted-Cross-Domain-Policies: [none]
27 X-Request-Id: [d825adf4-d39b-4b11-ac06-52f1c2ebae1e] 27 X-Request-Id: [9d38c2ba-8c7d-4655-b6f2-c1952ef741f1]
28 X-Runtime: ['0.167887'] 28 X-Runtime: ['0.080785']
29 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
30 content-length: ['188'] 30 content-length: ['187']
31 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
32- request: 32- request:
33 body: null 33 body: null
@@ -45,7 +45,7 @@ interactions:
45 headers: 45 headers:
46 Cache-Control: ['max-age=0, private, must-revalidate'] 46 Cache-Control: ['max-age=0, private, must-revalidate']
47 Content-Type: [application/json; charset=utf-8] 47 Content-Type: [application/json; charset=utf-8]
48 ETag: [W/"eaa50bd8a2a8ed6f27b526579722aa2b"] 48 ETag: [W/"eeb6b79b2b5faa24394c5db4fc61064c"]
49 Referrer-Policy: [strict-origin-when-cross-origin] 49 Referrer-Policy: [strict-origin-when-cross-origin]
50 Transfer-Encoding: [chunked] 50 Transfer-Encoding: [chunked]
51 Vary: ['Accept-Encoding, Origin'] 51 Vary: ['Accept-Encoding, Origin']
@@ -53,8 +53,8 @@ interactions:
53 X-Download-Options: [noopen] 53 X-Download-Options: [noopen]
54 X-Frame-Options: [SAMEORIGIN] 54 X-Frame-Options: [SAMEORIGIN]
55 X-Permitted-Cross-Domain-Policies: [none] 55 X-Permitted-Cross-Domain-Policies: [none]
56 X-Request-Id: [e60c20e1-3f5a-482b-bd96-fe38751015cc] 56 X-Request-Id: [516bbf2a-af02-4231-a038-80beeefb07c7]
57 X-Runtime: ['0.182601'] 57 X-Runtime: ['0.083330']
58 X-XSS-Protection: [1; mode=block] 58 X-XSS-Protection: [1; mode=block]
59 content-length: ['2'] 59 content-length: ['2']
60 status: {code: 200, message: OK} 60 status: {code: 200, message: OK}
@@ -70,11 +70,11 @@ interactions:
70 method: POST 70 method: POST
71 uri: http://localhost:3000/api/v1/accounts/1234567890123456/unfollow 71 uri: http://localhost:3000/api/v1/accounts/1234567890123456/unfollow
72 response: 72 response:
73 body: {string: '{"id":"1234567890123456","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} 73 body: {string: '{"id":"1234567890123456","following":false,"showing_reblogs":false,"followed_by":true,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'}
74 headers: 74 headers:
75 Cache-Control: ['max-age=0, private, must-revalidate'] 75 Cache-Control: ['max-age=0, private, must-revalidate']
76 Content-Type: [application/json; charset=utf-8] 76 Content-Type: [application/json; charset=utf-8]
77 ETag: [W/"f823a0cd20057f6ffc5edcb18fcdd541"] 77 ETag: [W/"df7f0e83fce49f84855f485cb03eee54"]
78 Referrer-Policy: [strict-origin-when-cross-origin] 78 Referrer-Policy: [strict-origin-when-cross-origin]
79 Transfer-Encoding: [chunked] 79 Transfer-Encoding: [chunked]
80 Vary: ['Accept-Encoding, Origin'] 80 Vary: ['Accept-Encoding, Origin']
@@ -82,9 +82,9 @@ interactions:
82 X-Download-Options: [noopen] 82 X-Download-Options: [noopen]
83 X-Frame-Options: [SAMEORIGIN] 83 X-Frame-Options: [SAMEORIGIN]
84 X-Permitted-Cross-Domain-Policies: [none] 84 X-Permitted-Cross-Domain-Policies: [none]
85 X-Request-Id: [e12e2778-318b-442e-bfe0-ce3101c67a7b] 85 X-Request-Id: [fe74e6db-5f1e-4781-8589-90c76c7e76bc]
86 X-Runtime: ['0.139029'] 86 X-Runtime: ['0.118589']
87 X-XSS-Protection: [1; mode=block] 87 X-XSS-Protection: [1; mode=block]
88 content-length: ['190'] 88 content-length: ['189']
89 status: {code: 200, message: OK} 89 status: {code: 200, message: OK}
90version: 1 90version: 1
Powered by cgit v1.2.3 (git 2.41.0)