diff options
author | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
commit | 437f68c29a18303de3c75962021bbe030b2cf85c (patch) | |
tree | 83b7ba151a3e52163fd7048f82672394bcbb3865 /tests/cassettes/test_account_pin_unpin.yaml | |
parent | 2c2f55fd63e4096580f4d56279c261cedb1be1a9 (diff) | |
download | mastodon.py-437f68c29a18303de3c75962021bbe030b2cf85c.tar.gz |
Update tests for 3.0.1 and fix regressions
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 4e6779f..bde600c 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":16,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} | 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":27,"last_status_at":"2019-10-11T21:45:48.648Z","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: [02acee62-4be9-44c6-9358-053a5fefd051] | 24 | X-Request-Id: [950fad2e-720f-4f0f-aa83-98bcd6aeb45d] |
25 | X-Runtime: ['0.037721'] | 25 | X-Runtime: ['0.030823'] |
26 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['610'] | 27 | content-length: ['680'] |
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: [48078e43-3b8d-4bae-9151-c988d7e4cc3b] | 53 | X-Request-Id: [9bca315e-f074-4fdc-8f17-cd31dfc0b42e] |
54 | X-Runtime: ['0.076653'] | 54 | X-Runtime: ['0.080563'] |
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: [1417a149-882b-4757-ae0c-5cb0809546bc] | 81 | X-Request-Id: [548fa7b7-a6ec-43bd-b225-877463c38cb6] |
82 | X-Runtime: ['0.075845'] | 82 | X-Runtime: ['0.095486'] |
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: [53711991-dc2c-4e2a-899c-4c125499904b] | 109 | X-Request-Id: [a88bda5c-63bf-4bcf-a17c-668b68dd537b] |
110 | X-Runtime: ['0.059953'] | 110 | X-Runtime: ['0.063345'] |
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":16,"emojis":[],"fields":[]}]'} | 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":27,"last_status_at":"2019-10-11T21:45:48.648Z","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: [1c7a0fb2-9f54-452c-a7db-79994a435851] | 137 | X-Request-Id: [84c1395a-c349-4b3c-b094-fe64f7f2240f] |
138 | X-Runtime: ['0.024199'] | 138 | X-Runtime: ['0.052792'] |
139 | X-XSS-Protection: [1; mode=block] | 139 | X-XSS-Protection: [1; mode=block] |
140 | content-length: ['526'] | 140 | content-length: ['570'] |
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: [e89fb4fb-c8d7-4ba8-965a-7ff2eabe00f8] | 165 | X-Request-Id: [fa585732-6193-4cf1-a64b-dbfeacae4c29] |
166 | X-Runtime: ['0.028116'] | 166 | X-Runtime: ['0.034455'] |
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: [a175ff2d-a748-4b55-aa4e-6fe756492349] | 192 | X-Request-Id: [50a6c4aa-d887-4b42-9cc6-9e0d07ac6e64] |
193 | X-Runtime: ['0.018454'] | 193 | X-Runtime: ['0.031412'] |
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: [0a682eb2-f663-4bf5-b637-cf50ef9424a0] | 220 | X-Request-Id: [8ea51729-d6f1-4dbd-a9ad-3003d92c8df9] |
221 | X-Runtime: ['0.077660'] | 221 | X-Runtime: ['0.078636'] |
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} |