aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-05-06 01:37:13 +0200
committerLorenz Diener <[email protected]>2018-05-06 01:37:13 +0200
commita15d28d9d60128fd5551f05eccd8999b46f70f5e (patch)
tree84c2e92799983594138a9a4fc4ec7dab429e52bf /tests/cassettes/test_account_block_unblock.yaml
parentad6b8eeb044760adf4b420199164b245012350f4 (diff)
downloadmastodon.py-a15d28d9d60128fd5551f05eccd8999b46f70f5e.tar.gz
Testing updates, can now test streaming API
Diffstat (limited to 'tests/cassettes/test_account_block_unblock.yaml')
-rw-r--r--tests/cassettes/test_account_block_unblock.yaml64
1 files changed, 6 insertions, 58 deletions
diff --git a/tests/cassettes/test_account_block_unblock.yaml b/tests/cassettes/test_account_block_unblock.yaml
index e4284ad..3051946 100644
--- a/tests/cassettes/test_account_block_unblock.yaml
+++ b/tests/cassettes/test_account_block_unblock.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/"7270db64f2e7252111bde1d5a36123b5"] 18 ETag: [W/"24a0d6a53132598285877ef275d599e7"]
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: [4647bb35-bc43-4f4f-b468-a4b4e9c8014d] 23 X-Request-Id: [062c6fd8-e156-461d-a133-abad610550a3]
24 X-Runtime: ['0.143071'] 24 X-Runtime: ['0.223855']
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: [ecf68d44-d195-4ba8-a68d-6d018a9d0d79] 49 X-Request-Id: [b6bf1699-8fb0-4923-906d-f8d72ab7844f]
50 X-Runtime: ['0.056808'] 50 X-Runtime: ['0.102030']
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/block
65 response:
66 body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":true,"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/"65ccb4aa19c6547777f2b595125b64cf"]
71 Transfer-Encoding: [chunked]
72 Vary: ['Accept-Encoding, Origin']
73 X-Content-Type-Options: [nosniff]
74 X-Frame-Options: [SAMEORIGIN]
75 X-Request-Id: [6c92235b-f720-4164-8f5a-26bf813f9382]
76 X-Runtime: ['0.162354']
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/unblock
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: [9e383db5-ef55-47f4-a007-208ddee7a17a]
102 X-Runtime: ['0.095890']
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)