diff options
Diffstat (limited to 'tests/cassettes/test_list_by_account.yaml')
-rw-r--r-- | tests/cassettes/test_list_by_account.yaml | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/tests/cassettes/test_list_by_account.yaml b/tests/cassettes/test_list_by_account.yaml index d74accb..c8c2514 100644 --- a/tests/cassettes/test_list_by_account.yaml +++ b/tests/cassettes/test_list_by_account.yaml | |||
@@ -12,11 +12,11 @@ interactions: | |||
12 | method: POST | 12 | method: POST |
13 | uri: http://localhost:3000/api/v1/lists | 13 | uri: http://localhost:3000/api/v1/lists |
14 | response: | 14 | response: |
15 | body: {string: '{"id":"12","title":"ham burglars"}'} | 15 | body: {string: '{"id":"17","title":"ham burglars"}'} |
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/"9d25791829ea38f2ad58d7f62532e947"] | 19 | ETag: [W/"dde3b72d9e5da5dbd934a3ee87fb1970"] |
20 | Referrer-Policy: [strict-origin-when-cross-origin] | 20 | Referrer-Policy: [strict-origin-when-cross-origin] |
21 | Transfer-Encoding: [chunked] | 21 | Transfer-Encoding: [chunked] |
22 | Vary: ['Accept-Encoding, Origin'] | 22 | Vary: ['Accept-Encoding, Origin'] |
@@ -24,8 +24,8 @@ interactions: | |||
24 | X-Download-Options: [noopen] | 24 | X-Download-Options: [noopen] |
25 | X-Frame-Options: [SAMEORIGIN] | 25 | X-Frame-Options: [SAMEORIGIN] |
26 | X-Permitted-Cross-Domain-Policies: [none] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
27 | X-Request-Id: [e66b2030-01e8-4ebf-9674-73adf96695df] | 27 | X-Request-Id: [cf9f740e-0593-4d4e-b992-f6d6a2db4db8] |
28 | X-Runtime: ['0.043475'] | 28 | X-Runtime: ['0.141359'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['34'] | 30 | content-length: ['34'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
@@ -40,11 +40,11 @@ interactions: | |||
40 | method: GET | 40 | method: GET |
41 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 41 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
42 | response: | 42 | response: |
43 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":67,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} | 43 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":83,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} |
44 | headers: | 44 | headers: |
45 | Cache-Control: ['max-age=0, private, must-revalidate'] | 45 | Cache-Control: ['max-age=0, private, must-revalidate'] |
46 | Content-Type: [application/json; charset=utf-8] | 46 | Content-Type: [application/json; charset=utf-8] |
47 | ETag: [W/"5211bab11227593f32fe99dfc5c25984"] | 47 | ETag: [W/"9587763994cb7b923d265b9928c57021"] |
48 | Referrer-Policy: [strict-origin-when-cross-origin] | 48 | Referrer-Policy: [strict-origin-when-cross-origin] |
49 | Transfer-Encoding: [chunked] | 49 | Transfer-Encoding: [chunked] |
50 | Vary: ['Accept-Encoding, Origin'] | 50 | Vary: ['Accept-Encoding, Origin'] |
@@ -52,19 +52,19 @@ interactions: | |||
52 | X-Download-Options: [noopen] | 52 | X-Download-Options: [noopen] |
53 | X-Frame-Options: [SAMEORIGIN] | 53 | X-Frame-Options: [SAMEORIGIN] |
54 | X-Permitted-Cross-Domain-Policies: [none] | 54 | X-Permitted-Cross-Domain-Policies: [none] |
55 | X-Request-Id: [0ded0bcc-1c0d-447a-8f61-ed7192620979] | 55 | X-Request-Id: [866418f9-10ef-49f8-af69-2b9da12d74cd] |
56 | X-Runtime: ['0.277921'] | 56 | X-Runtime: ['0.059704'] |
57 | X-XSS-Protection: [1; mode=block] | 57 | X-XSS-Protection: [1; mode=block] |
58 | content-length: ['635'] | 58 | content-length: ['635'] |
59 | status: {code: 200, message: OK} | 59 | status: {code: 200, message: OK} |
60 | - request: | 60 | - request: |
61 | body: reblogs=True&id=1 | 61 | body: reblogs=1&id=1 |
62 | headers: | 62 | headers: |
63 | Accept: ['*/*'] | 63 | Accept: ['*/*'] |
64 | Accept-Encoding: ['gzip, deflate'] | 64 | Accept-Encoding: ['gzip, deflate'] |
65 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 65 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
66 | Connection: [keep-alive] | 66 | Connection: [keep-alive] |
67 | Content-Length: ['17'] | 67 | Content-Length: ['14'] |
68 | Content-Type: [application/x-www-form-urlencoded] | 68 | Content-Type: [application/x-www-form-urlencoded] |
69 | User-Agent: [python-requests/2.18.4] | 69 | User-Agent: [python-requests/2.18.4] |
70 | method: POST | 70 | method: POST |
@@ -74,7 +74,7 @@ interactions: | |||
74 | headers: | 74 | headers: |
75 | Cache-Control: ['max-age=0, private, must-revalidate'] | 75 | Cache-Control: ['max-age=0, private, must-revalidate'] |
76 | Content-Type: [application/json; charset=utf-8] | 76 | Content-Type: [application/json; charset=utf-8] |
77 | ETag: [W/"104706c5d5a5d4d87780cdec31e76836"] | 77 | ETag: [W/"e8cd1251bfd918929ffa4febb0dd234e"] |
78 | Referrer-Policy: [strict-origin-when-cross-origin] | 78 | Referrer-Policy: [strict-origin-when-cross-origin] |
79 | Transfer-Encoding: [chunked] | 79 | Transfer-Encoding: [chunked] |
80 | Vary: ['Accept-Encoding, Origin'] | 80 | Vary: ['Accept-Encoding, Origin'] |
@@ -82,8 +82,8 @@ interactions: | |||
82 | X-Download-Options: [noopen] | 82 | X-Download-Options: [noopen] |
83 | X-Frame-Options: [SAMEORIGIN] | 83 | X-Frame-Options: [SAMEORIGIN] |
84 | X-Permitted-Cross-Domain-Policies: [none] | 84 | X-Permitted-Cross-Domain-Policies: [none] |
85 | X-Request-Id: [4dbf24ce-460a-4457-b3a5-62dd116f7ca9] | 85 | X-Request-Id: [28088d1d-21a8-47d1-bf56-636ff6786ab5] |
86 | X-Runtime: ['0.078180'] | 86 | X-Runtime: ['0.245029'] |
87 | X-XSS-Protection: [1; mode=block] | 87 | X-XSS-Protection: [1; mode=block] |
88 | content-length: ['173'] | 88 | content-length: ['173'] |
89 | status: {code: 200, message: OK} | 89 | status: {code: 200, message: OK} |
@@ -98,13 +98,13 @@ interactions: | |||
98 | Content-Type: [application/x-www-form-urlencoded] | 98 | Content-Type: [application/x-www-form-urlencoded] |
99 | User-Agent: [python-requests/2.18.4] | 99 | User-Agent: [python-requests/2.18.4] |
100 | method: POST | 100 | method: POST |
101 | uri: http://localhost:3000/api/v1/lists/12/accounts | 101 | uri: http://localhost:3000/api/v1/lists/17/accounts |
102 | response: | 102 | response: |
103 | body: {string: '{}'} | 103 | body: {string: '{}'} |
104 | headers: | 104 | headers: |
105 | Cache-Control: ['max-age=0, private, must-revalidate'] | 105 | Cache-Control: ['max-age=0, private, must-revalidate'] |
106 | Content-Type: [application/json; charset=utf-8] | 106 | Content-Type: [application/json; charset=utf-8] |
107 | ETag: [W/"0cdb2e7c6eb5550ff52103826ed9e2cd"] | 107 | ETag: [W/"9e6b8b88662bc6da804d2c4a9dcb93c2"] |
108 | Referrer-Policy: [strict-origin-when-cross-origin] | 108 | Referrer-Policy: [strict-origin-when-cross-origin] |
109 | Transfer-Encoding: [chunked] | 109 | Transfer-Encoding: [chunked] |
110 | Vary: ['Accept-Encoding, Origin'] | 110 | Vary: ['Accept-Encoding, Origin'] |
@@ -112,8 +112,8 @@ interactions: | |||
112 | X-Download-Options: [noopen] | 112 | X-Download-Options: [noopen] |
113 | X-Frame-Options: [SAMEORIGIN] | 113 | X-Frame-Options: [SAMEORIGIN] |
114 | X-Permitted-Cross-Domain-Policies: [none] | 114 | X-Permitted-Cross-Domain-Policies: [none] |
115 | X-Request-Id: [66b91f80-7290-4b31-9318-8f2b129b2be7] | 115 | X-Request-Id: [af8ceea9-e1f0-4b1f-be7e-b880a0994c92] |
116 | X-Runtime: ['0.058322'] | 116 | X-Runtime: ['0.168500'] |
117 | X-XSS-Protection: [1; mode=block] | 117 | X-XSS-Protection: [1; mode=block] |
118 | content-length: ['2'] | 118 | content-length: ['2'] |
119 | status: {code: 200, message: OK} | 119 | status: {code: 200, message: OK} |
@@ -128,11 +128,11 @@ interactions: | |||
128 | method: GET | 128 | method: GET |
129 | uri: http://localhost:3000/api/v1/accounts/1/lists | 129 | uri: http://localhost:3000/api/v1/accounts/1/lists |
130 | response: | 130 | response: |
131 | body: {string: '[{"id":"12","title":"ham burglars"}]'} | 131 | body: {string: '[{"id":"17","title":"ham burglars"}]'} |
132 | headers: | 132 | headers: |
133 | Cache-Control: ['max-age=0, private, must-revalidate'] | 133 | Cache-Control: ['max-age=0, private, must-revalidate'] |
134 | Content-Type: [application/json; charset=utf-8] | 134 | Content-Type: [application/json; charset=utf-8] |
135 | ETag: [W/"403cd5e122640c4a0e94ec6f21466511"] | 135 | ETag: [W/"4bcafc8e6cd2003eef7d3f81a5057cb6"] |
136 | Referrer-Policy: [strict-origin-when-cross-origin] | 136 | Referrer-Policy: [strict-origin-when-cross-origin] |
137 | Transfer-Encoding: [chunked] | 137 | Transfer-Encoding: [chunked] |
138 | Vary: ['Accept-Encoding, Origin'] | 138 | Vary: ['Accept-Encoding, Origin'] |
@@ -140,8 +140,8 @@ interactions: | |||
140 | X-Download-Options: [noopen] | 140 | X-Download-Options: [noopen] |
141 | X-Frame-Options: [SAMEORIGIN] | 141 | X-Frame-Options: [SAMEORIGIN] |
142 | X-Permitted-Cross-Domain-Policies: [none] | 142 | X-Permitted-Cross-Domain-Policies: [none] |
143 | X-Request-Id: [0e41c009-30b7-4135-91bb-3f745842a841] | 143 | X-Request-Id: [cc26359b-b82e-44bc-aa92-010d1371227b] |
144 | X-Runtime: ['0.062819'] | 144 | X-Runtime: ['0.072355'] |
145 | X-XSS-Protection: [1; mode=block] | 145 | X-XSS-Protection: [1; mode=block] |
146 | content-length: ['36'] | 146 | content-length: ['36'] |
147 | status: {code: 200, message: OK} | 147 | status: {code: 200, message: OK} |
@@ -161,7 +161,7 @@ interactions: | |||
161 | headers: | 161 | headers: |
162 | Cache-Control: ['max-age=0, private, must-revalidate'] | 162 | Cache-Control: ['max-age=0, private, must-revalidate'] |
163 | Content-Type: [application/json; charset=utf-8] | 163 | Content-Type: [application/json; charset=utf-8] |
164 | ETag: [W/"8f29f445514fac6569926c516a323b44"] | 164 | ETag: [W/"8f010b455ba8645cafb08ac64d4c56e1"] |
165 | Referrer-Policy: [strict-origin-when-cross-origin] | 165 | Referrer-Policy: [strict-origin-when-cross-origin] |
166 | Transfer-Encoding: [chunked] | 166 | Transfer-Encoding: [chunked] |
167 | Vary: ['Accept-Encoding, Origin'] | 167 | Vary: ['Accept-Encoding, Origin'] |
@@ -169,8 +169,8 @@ interactions: | |||
169 | X-Download-Options: [noopen] | 169 | X-Download-Options: [noopen] |
170 | X-Frame-Options: [SAMEORIGIN] | 170 | X-Frame-Options: [SAMEORIGIN] |
171 | X-Permitted-Cross-Domain-Policies: [none] | 171 | X-Permitted-Cross-Domain-Policies: [none] |
172 | X-Request-Id: [528732f0-22b6-4e38-add7-c40b233f1616] | 172 | X-Request-Id: [cc2a9e4b-9d1a-499f-9e68-9e0a8bcbd55b] |
173 | X-Runtime: ['0.085867'] | 173 | X-Runtime: ['0.134607'] |
174 | X-XSS-Protection: [1; mode=block] | 174 | X-XSS-Protection: [1; mode=block] |
175 | content-length: ['175'] | 175 | content-length: ['175'] |
176 | status: {code: 200, message: OK} | 176 | status: {code: 200, message: OK} |
@@ -184,13 +184,13 @@ interactions: | |||
184 | Content-Length: ['0'] | 184 | Content-Length: ['0'] |
185 | User-Agent: [python-requests/2.18.4] | 185 | User-Agent: [python-requests/2.18.4] |
186 | method: DELETE | 186 | method: DELETE |
187 | uri: http://localhost:3000/api/v1/lists/12 | 187 | uri: http://localhost:3000/api/v1/lists/17 |
188 | response: | 188 | response: |
189 | body: {string: '{}'} | 189 | body: {string: '{}'} |
190 | headers: | 190 | headers: |
191 | Cache-Control: ['max-age=0, private, must-revalidate'] | 191 | Cache-Control: ['max-age=0, private, must-revalidate'] |
192 | Content-Type: [application/json; charset=utf-8] | 192 | Content-Type: [application/json; charset=utf-8] |
193 | ETag: [W/"ffab38e79475e4159e128e2821989fd2"] | 193 | ETag: [W/"9e6b8b88662bc6da804d2c4a9dcb93c2"] |
194 | Referrer-Policy: [strict-origin-when-cross-origin] | 194 | Referrer-Policy: [strict-origin-when-cross-origin] |
195 | Transfer-Encoding: [chunked] | 195 | Transfer-Encoding: [chunked] |
196 | Vary: ['Accept-Encoding, Origin'] | 196 | Vary: ['Accept-Encoding, Origin'] |
@@ -198,8 +198,8 @@ interactions: | |||
198 | X-Download-Options: [noopen] | 198 | X-Download-Options: [noopen] |
199 | X-Frame-Options: [SAMEORIGIN] | 199 | X-Frame-Options: [SAMEORIGIN] |
200 | X-Permitted-Cross-Domain-Policies: [none] | 200 | X-Permitted-Cross-Domain-Policies: [none] |
201 | X-Request-Id: [30abb974-4601-4cd7-9587-aba15accc618] | 201 | X-Request-Id: [bb3d3773-dcd2-4936-b017-b7fc6c43e58a] |
202 | X-Runtime: ['0.056331'] | 202 | X-Runtime: ['0.132804'] |
203 | X-XSS-Protection: [1; mode=block] | 203 | X-XSS-Protection: [1; mode=block] |
204 | content-length: ['2'] | 204 | content-length: ['2'] |
205 | status: {code: 200, message: OK} | 205 | status: {code: 200, message: OK} |