aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_domain_block_unblock.yaml')
-rw-r--r--tests/cassettes/test_domain_block_unblock.yaml66
1 files changed, 6 insertions, 60 deletions
diff --git a/tests/cassettes/test_domain_block_unblock.yaml b/tests/cassettes/test_domain_block_unblock.yaml
index 319817a..d595c36 100644
--- a/tests/cassettes/test_domain_block_unblock.yaml
+++ b/tests/cassettes/test_domain_block_unblock.yaml
@@ -16,13 +16,13 @@ interactions:
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/"22373afedef13443fef6492eb2a68e66"] 19 ETag: [W/"0701583423fc411927a998269cc998b6"]
20 Transfer-Encoding: [chunked] 20 Transfer-Encoding: [chunked]
21 Vary: ['Accept-Encoding, Origin'] 21 Vary: ['Accept-Encoding, Origin']
22 X-Content-Type-Options: [nosniff] 22 X-Content-Type-Options: [nosniff]
23 X-Frame-Options: [SAMEORIGIN] 23 X-Frame-Options: [SAMEORIGIN]
24 X-Request-Id: [370cc1f2-0f3b-409b-8982-53c364cda688] 24 X-Request-Id: [2305d5f0-c15f-4fb3-9d07-657941c059a7]
25 X-Runtime: ['0.090108'] 25 X-Runtime: ['0.183163']
26 X-XSS-Protection: [1; mode=block] 26 X-XSS-Protection: [1; mode=block]
27 content-length: ['2'] 27 content-length: ['2']
28 status: {code: 200, message: OK} 28 status: {code: 200, message: OK}
@@ -43,67 +43,13 @@ interactions:
43 headers: 43 headers:
44 Cache-Control: ['max-age=0, private, must-revalidate'] 44 Cache-Control: ['max-age=0, private, must-revalidate']
45 Content-Type: [application/json; charset=utf-8] 45 Content-Type: [application/json; charset=utf-8]
46 ETag: [W/"22373afedef13443fef6492eb2a68e66"] 46 ETag: [W/"0701583423fc411927a998269cc998b6"]
47 Transfer-Encoding: [chunked] 47 Transfer-Encoding: [chunked]
48 Vary: ['Accept-Encoding, Origin'] 48 Vary: ['Accept-Encoding, Origin']
49 X-Content-Type-Options: [nosniff] 49 X-Content-Type-Options: [nosniff]
50 X-Frame-Options: [SAMEORIGIN] 50 X-Frame-Options: [SAMEORIGIN]
51 X-Request-Id: [c928efd5-9595-4ba6-a659-59751788b6e2] 51 X-Request-Id: [19dffabc-5e33-4ca7-a31e-1b21239a7815]
52 X-Runtime: ['0.060232'] 52 X-Runtime: ['0.037449']
53 X-XSS-Protection: [1; mode=block]
54 content-length: ['2']
55 status: {code: 200, message: OK}
56- request:
57 body: domain=example.com
58 headers:
59 Accept: ['*/*']
60 Accept-Encoding: ['gzip, deflate']
61 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
62 Connection: [keep-alive]
63 Content-Length: ['18']
64 Content-Type: [application/x-www-form-urlencoded]
65 User-Agent: [python-requests/2.9.1]
66 method: POST
67 uri: http://localhost:3000/api/v1/domain_blocks
68 response:
69 body: {string: '{}'}
70 headers:
71 Cache-Control: ['max-age=0, private, must-revalidate']
72 Content-Type: [application/json; charset=utf-8]
73 ETag: [W/"ebde216f2328956515154640c4a2b85b"]
74 Transfer-Encoding: [chunked]
75 Vary: ['Accept-Encoding, Origin']
76 X-Content-Type-Options: [nosniff]
77 X-Frame-Options: [SAMEORIGIN]
78 X-Request-Id: [22d5b06e-ba87-40b2-be5a-6f7b260ab17a]
79 X-Runtime: ['0.120367']
80 X-XSS-Protection: [1; mode=block]
81 content-length: ['2']
82 status: {code: 200, message: OK}
83- request:
84 body: domain=example.com
85 headers:
86 Accept: ['*/*']
87 Accept-Encoding: ['gzip, deflate']
88 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
89 Connection: [keep-alive]
90 Content-Length: ['18']
91 Content-Type: [application/x-www-form-urlencoded]
92 User-Agent: [python-requests/2.9.1]
93 method: DELETE
94 uri: http://localhost:3000/api/v1/domain_blocks
95 response:
96 body: {string: '{}'}
97 headers:
98 Cache-Control: ['max-age=0, private, must-revalidate']
99 Content-Type: [application/json; charset=utf-8]
100 ETag: [W/"ebde216f2328956515154640c4a2b85b"]
101 Transfer-Encoding: [chunked]
102 Vary: ['Accept-Encoding, Origin']
103 X-Content-Type-Options: [nosniff]
104 X-Frame-Options: [SAMEORIGIN]
105 X-Request-Id: [be79c3b1-4d44-4462-8f01-eec3100f6846]
106 X-Runtime: ['0.086647']
107 X-XSS-Protection: [1; mode=block] 53 X-XSS-Protection: [1; mode=block]
108 content-length: ['2'] 54 content-length: ['2']
109 status: {code: 200, message: OK} 55 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)