aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_account_follow_unfollow.yaml')
-rw-r--r--tests/cassettes/test_account_follow_unfollow.yaml64
1 files changed, 6 insertions, 58 deletions
diff --git a/tests/cassettes/test_account_follow_unfollow.yaml b/tests/cassettes/test_account_follow_unfollow.yaml
index 28ee4a5..4e6e90d 100644
--- a/tests/cassettes/test_account_follow_unfollow.yaml
+++ b/tests/cassettes/test_account_follow_unfollow.yaml
@@ -15,13 +15,13 @@ interactions:
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/"30f95c590c0189eb0e287e576859f259"] 18 ETag: [W/"6bd8bf79a5cc593fd51fa011fbbfe8b6"]
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: [207de7da-a7ff-4fff-b056-a017596c7c96] 23 X-Request-Id: [7c82b2e3-abab-479b-8a2b-b12f7b6fa568]
24 X-Runtime: ['0.083476'] 24 X-Runtime: ['0.087821']
25 X-XSS-Protection: [1; mode=block] 25 X-XSS-Protection: [1; mode=block]
26 content-length: ['174'] 26 content-length: ['174']
27 status: {code: 200, message: OK} 27 status: {code: 200, message: OK}
@@ -41,65 +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/"87221e47b85c075458d260d65c52aa13"] 44 ETag: [W/"ee226d40e07fcac8182b0b963aedd6aa"]
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: [a5819582-2122-4b5e-a894-31fe83e552b0] 49 X-Request-Id: [1cd7e96e-b5be-49a5-843b-50903ea8f15a]
50 X-Runtime: ['0.089673'] 50 X-Runtime: ['0.101309']
51 X-XSS-Protection: [1; mode=block]
52 content-length: ['175']
53 status: {code: 200, message: OK}
54- request:
55 body: null
56 headers:
57 Accept: ['*/*']
58 Accept-Encoding: ['gzip, deflate']
59 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
60 Connection: [keep-alive]
61 Content-Length: ['0']
62 User-Agent: [python-requests/2.9.1]
63 method: POST
64 uri: http://localhost:3000/api/v1/accounts/1/follow
65 response:
66 body: {string: '{"id":"1","following":true,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'}
67 headers:
68 Cache-Control: ['max-age=0, private, must-revalidate']
69 Content-Type: [application/json; charset=utf-8]
70 ETag: [W/"b8c56d834f4621bc2b3b8f2dd4eb7712"]
71 Transfer-Encoding: [chunked]
72 Vary: ['Accept-Encoding, Origin']
73 X-Content-Type-Options: [nosniff]
74 X-Frame-Options: [SAMEORIGIN]
75 X-Request-Id: [2ee799ee-aca4-46be-9729-9a326bc6b1ab]
76 X-Runtime: ['0.231535']
77 X-XSS-Protection: [1; mode=block]
78 content-length: ['174']
79 status: {code: 200, message: OK}
80- request:
81 body: null
82 headers:
83 Accept: ['*/*']
84 Accept-Encoding: ['gzip, deflate']
85 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
86 Connection: [keep-alive]
87 Content-Length: ['0']
88 User-Agent: [python-requests/2.9.1]
89 method: POST
90 uri: http://localhost:3000/api/v1/accounts/1/unfollow
91 response:
92 body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'}
93 headers:
94 Cache-Control: ['max-age=0, private, must-revalidate']
95 Content-Type: [application/json; charset=utf-8]
96 ETag: [W/"229b5f1dd5df8ec902733f300aadca06"]
97 Transfer-Encoding: [chunked]
98 Vary: ['Accept-Encoding, Origin']
99 X-Content-Type-Options: [nosniff]
100 X-Frame-Options: [SAMEORIGIN]
101 X-Request-Id: [3b7e105e-4b86-4131-9877-42c33ab471cb]
102 X-Runtime: ['0.121848']
103 X-XSS-Protection: [1; mode=block] 51 X-XSS-Protection: [1; mode=block]
104 content-length: ['175'] 52 content-length: ['175']
105 status: {code: 200, message: OK} 53 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)