diff options
author | Lorenz Diener <[email protected]> | 2020-02-22 20:31:33 +0100 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2020-02-22 20:31:33 +0100 |
commit | 4f90728a4a8c98f3ee7e9aab5a05f93c152a375d (patch) | |
tree | a06d71bfcc7be6e8fe6d17a881cebfbafbe51963 /tests/cassettes/test_account_pin_unpin.yaml | |
parent | 2132615269aa80a01d9af63d90e075197603fa3e (diff) | |
download | mastodon.py-4f90728a4a8c98f3ee7e9aab5a05f93c152a375d.tar.gz |
Fix tests for 3.1.1
Diffstat (limited to 'tests/cassettes/test_account_pin_unpin.yaml')
-rw-r--r-- | tests/cassettes/test_account_pin_unpin.yaml | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/cassettes/test_account_pin_unpin.yaml b/tests/cassettes/test_account_pin_unpin.yaml index 1f11287..f0893d8 100644 --- a/tests/cassettes/test_account_pin_unpin.yaml +++ b/tests/cassettes/test_account_pin_unpin.yaml | |||
@@ -10,7 +10,7 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
12 | response: | 12 | response: |
13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":30,"last_status_at":"2019-10-11T21:57:00.304Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} | 13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['no-cache, no-store'] | 15 | Cache-Control: ['no-cache, no-store'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
@@ -21,10 +21,10 @@ interactions: | |||
21 | X-Download-Options: [noopen] | 21 | X-Download-Options: [noopen] |
22 | X-Frame-Options: [SAMEORIGIN] | 22 | X-Frame-Options: [SAMEORIGIN] |
23 | X-Permitted-Cross-Domain-Policies: [none] | 23 | X-Permitted-Cross-Domain-Policies: [none] |
24 | X-Request-Id: [37b30221-c0d5-4cfb-9768-b9e6554e6595] | 24 | X-Request-Id: [1759aeac-c7c9-44e8-a945-3d4224bc572d] |
25 | X-Runtime: ['0.033095'] | 25 | X-Runtime: ['0.070126'] |
26 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['680'] | 27 | content-length: ['691'] |
28 | status: {code: 200, message: OK} | 28 | status: {code: 200, message: OK} |
29 | - request: | 29 | - request: |
30 | body: reblogs=1&id=1 | 30 | body: reblogs=1&id=1 |
@@ -50,8 +50,8 @@ interactions: | |||
50 | X-Download-Options: [noopen] | 50 | X-Download-Options: [noopen] |
51 | X-Frame-Options: [SAMEORIGIN] | 51 | X-Frame-Options: [SAMEORIGIN] |
52 | X-Permitted-Cross-Domain-Policies: [none] | 52 | X-Permitted-Cross-Domain-Policies: [none] |
53 | X-Request-Id: [9239f956-e331-41cd-bdea-3808c5860010] | 53 | X-Request-Id: [0b379cc5-182b-424b-9a8f-429e38b71e25] |
54 | X-Runtime: ['0.083858'] | 54 | X-Runtime: ['0.089844'] |
55 | X-XSS-Protection: [1; mode=block] | 55 | X-XSS-Protection: [1; mode=block] |
56 | content-length: ['209'] | 56 | content-length: ['209'] |
57 | status: {code: 200, message: OK} | 57 | status: {code: 200, message: OK} |
@@ -78,8 +78,8 @@ interactions: | |||
78 | X-Download-Options: [noopen] | 78 | X-Download-Options: [noopen] |
79 | X-Frame-Options: [SAMEORIGIN] | 79 | X-Frame-Options: [SAMEORIGIN] |
80 | X-Permitted-Cross-Domain-Policies: [none] | 80 | X-Permitted-Cross-Domain-Policies: [none] |
81 | X-Request-Id: [ff838dc7-5abf-43ef-9b67-14c96830ebda] | 81 | X-Request-Id: [3df005da-d105-4b15-8376-47abdb7829b3] |
82 | X-Runtime: ['0.080912'] | 82 | X-Runtime: ['0.098275'] |
83 | X-XSS-Protection: [1; mode=block] | 83 | X-XSS-Protection: [1; mode=block] |
84 | content-length: ['209'] | 84 | content-length: ['209'] |
85 | status: {code: 200, message: OK} | 85 | status: {code: 200, message: OK} |
@@ -106,8 +106,8 @@ interactions: | |||
106 | X-Download-Options: [noopen] | 106 | X-Download-Options: [noopen] |
107 | X-Frame-Options: [SAMEORIGIN] | 107 | X-Frame-Options: [SAMEORIGIN] |
108 | X-Permitted-Cross-Domain-Policies: [none] | 108 | X-Permitted-Cross-Domain-Policies: [none] |
109 | X-Request-Id: [495577ad-4106-4ffd-af43-ee8e7b310134] | 109 | X-Request-Id: [81b184bc-ec1c-41c7-b48d-0f073381fa2d] |
110 | X-Runtime: ['0.060430'] | 110 | X-Runtime: ['0.056627'] |
111 | X-XSS-Protection: [1; mode=block] | 111 | X-XSS-Protection: [1; mode=block] |
112 | content-length: ['208'] | 112 | content-length: ['208'] |
113 | status: {code: 200, message: OK} | 113 | status: {code: 200, message: OK} |
@@ -122,7 +122,7 @@ interactions: | |||
122 | method: GET | 122 | method: GET |
123 | uri: http://localhost:3000/api/v1/endorsements | 123 | uri: http://localhost:3000/api/v1/endorsements |
124 | response: | 124 | response: |
125 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":30,"last_status_at":"2019-10-11T21:57:00.304Z","emojis":[],"fields":[]}]'} | 125 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":0,"last_status_at":null,"emojis":[],"fields":[]}]'} |
126 | headers: | 126 | headers: |
127 | Cache-Control: ['no-cache, no-store'] | 127 | Cache-Control: ['no-cache, no-store'] |
128 | Content-Type: [application/json; charset=utf-8] | 128 | Content-Type: [application/json; charset=utf-8] |
@@ -134,10 +134,10 @@ interactions: | |||
134 | X-Download-Options: [noopen] | 134 | X-Download-Options: [noopen] |
135 | X-Frame-Options: [SAMEORIGIN] | 135 | X-Frame-Options: [SAMEORIGIN] |
136 | X-Permitted-Cross-Domain-Policies: [none] | 136 | X-Permitted-Cross-Domain-Policies: [none] |
137 | X-Request-Id: [3120d909-0778-4931-82e8-1bcce468030a] | 137 | X-Request-Id: [f8e2d655-3cb0-4bbc-8c34-c0bb7fb91b7e] |
138 | X-Runtime: ['0.026059'] | 138 | X-Runtime: ['0.053483'] |
139 | X-XSS-Protection: [1; mode=block] | 139 | X-XSS-Protection: [1; mode=block] |
140 | content-length: ['570'] | 140 | content-length: ['581'] |
141 | status: {code: 200, message: OK} | 141 | status: {code: 200, message: OK} |
142 | - request: | 142 | - request: |
143 | body: null | 143 | body: null |
@@ -162,8 +162,8 @@ interactions: | |||
162 | X-Download-Options: [noopen] | 162 | X-Download-Options: [noopen] |
163 | X-Frame-Options: [SAMEORIGIN] | 163 | X-Frame-Options: [SAMEORIGIN] |
164 | X-Permitted-Cross-Domain-Policies: [none] | 164 | X-Permitted-Cross-Domain-Policies: [none] |
165 | X-Request-Id: [2626136d-3ca6-4e15-b72a-ce74d48d258b] | 165 | X-Request-Id: [fdd28069-66c1-4417-aff3-8056cc04c4c4] |
166 | X-Runtime: ['0.042342'] | 166 | X-Runtime: ['0.042610'] |
167 | X-XSS-Protection: [1; mode=block] | 167 | X-XSS-Protection: [1; mode=block] |
168 | content-length: ['209'] | 168 | content-length: ['209'] |
169 | status: {code: 200, message: OK} | 169 | status: {code: 200, message: OK} |
@@ -189,8 +189,8 @@ interactions: | |||
189 | X-Download-Options: [noopen] | 189 | X-Download-Options: [noopen] |
190 | X-Frame-Options: [SAMEORIGIN] | 190 | X-Frame-Options: [SAMEORIGIN] |
191 | X-Permitted-Cross-Domain-Policies: [none] | 191 | X-Permitted-Cross-Domain-Policies: [none] |
192 | X-Request-Id: [38056c3e-6130-49cb-af50-d24d6843798f] | 192 | X-Request-Id: [f7f28d03-c2e7-417b-a12f-e23a35a3df57] |
193 | X-Runtime: ['0.018241'] | 193 | X-Runtime: ['0.029372'] |
194 | X-XSS-Protection: [1; mode=block] | 194 | X-XSS-Protection: [1; mode=block] |
195 | content-length: ['2'] | 195 | content-length: ['2'] |
196 | status: {code: 200, message: OK} | 196 | status: {code: 200, message: OK} |
@@ -217,8 +217,8 @@ interactions: | |||
217 | X-Download-Options: [noopen] | 217 | X-Download-Options: [noopen] |
218 | X-Frame-Options: [SAMEORIGIN] | 218 | X-Frame-Options: [SAMEORIGIN] |
219 | X-Permitted-Cross-Domain-Policies: [none] | 219 | X-Permitted-Cross-Domain-Policies: [none] |
220 | X-Request-Id: [6d084205-6583-4564-b7ea-750b0ca04417] | 220 | X-Request-Id: [c8beb628-90be-458a-a8a3-097153d6befd] |
221 | X-Runtime: ['0.059548'] | 221 | X-Runtime: ['0.074431'] |
222 | X-XSS-Protection: [1; mode=block] | 222 | X-XSS-Protection: [1; mode=block] |
223 | content-length: ['211'] | 223 | content-length: ['211'] |
224 | status: {code: 200, message: OK} | 224 | status: {code: 200, message: OK} |