diff options
Diffstat (limited to 'tests/cassettes/test_list_by_account.yaml')
-rw-r--r-- | tests/cassettes/test_list_by_account.yaml | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/tests/cassettes/test_list_by_account.yaml b/tests/cassettes/test_list_by_account.yaml index c8c2514..2b0c422 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":"17","title":"ham burglars"}'} | 15 | body: {string: '{"id":"14","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/"dde3b72d9e5da5dbd934a3ee87fb1970"] | 19 | ETag: [W/"8247248ef314b99a42399ecd68df8cbc"] |
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: [cf9f740e-0593-4d4e-b992-f6d6a2db4db8] | 27 | X-Request-Id: [6933e1c3-5dd0-4ad3-91f2-c6a110bf03b0] |
28 | X-Runtime: ['0.141359'] | 28 | X-Runtime: ['0.023268'] |
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":83,"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":"2019-04-27T17:58:11.427Z","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":4,"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/"9587763994cb7b923d265b9928c57021"] | 47 | ETag: [W/"2e9e6004bf46c303088605fe48e20847"] |
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,10 +52,10 @@ 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: [866418f9-10ef-49f8-af69-2b9da12d74cd] | 55 | X-Request-Id: [fd21f18d-ee14-4826-b7f2-580f0561fd50] |
56 | X-Runtime: ['0.059704'] | 56 | X-Runtime: ['0.022522'] |
57 | X-XSS-Protection: [1; mode=block] | 57 | X-XSS-Protection: [1; mode=block] |
58 | content-length: ['635'] | 58 | content-length: ['609'] |
59 | status: {code: 200, message: OK} | 59 | status: {code: 200, message: OK} |
60 | - request: | 60 | - request: |
61 | body: reblogs=1&id=1 | 61 | body: reblogs=1&id=1 |
@@ -70,11 +70,11 @@ interactions: | |||
70 | method: POST | 70 | method: POST |
71 | uri: http://localhost:3000/api/v1/accounts/1/follow | 71 | uri: http://localhost:3000/api/v1/accounts/1/follow |
72 | response: | 72 | response: |
73 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} | 73 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} |
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/"e8cd1251bfd918929ffa4febb0dd234e"] | 77 | ETag: [W/"1d5525111153d4ca106111ca8fd589c9"] |
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,10 +82,10 @@ 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: [28088d1d-21a8-47d1-bf56-636ff6786ab5] | 85 | X-Request-Id: [f4fafc41-adf2-49f5-ace9-89f934a484db] |
86 | X-Runtime: ['0.245029'] | 86 | X-Runtime: ['0.100376'] |
87 | X-XSS-Protection: [1; mode=block] | 87 | X-XSS-Protection: [1; mode=block] |
88 | content-length: ['173'] | 88 | content-length: ['209'] |
89 | status: {code: 200, message: OK} | 89 | status: {code: 200, message: OK} |
90 | - request: | 90 | - request: |
91 | body: account_ids%5B%5D=1 | 91 | body: account_ids%5B%5D=1 |
@@ -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/17/accounts | 101 | uri: http://localhost:3000/api/v1/lists/14/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/"9e6b8b88662bc6da804d2c4a9dcb93c2"] | 107 | ETag: [W/"1f19006d4e16e44010f8b60659bab0b0"] |
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: [af8ceea9-e1f0-4b1f-be7e-b880a0994c92] | 115 | X-Request-Id: [147f5c72-4189-4239-ba22-769519f55fb4] |
116 | X-Runtime: ['0.168500'] | 116 | X-Runtime: ['0.084526'] |
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":"17","title":"ham burglars"}]'} | 131 | body: {string: '[{"id":"14","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/"4bcafc8e6cd2003eef7d3f81a5057cb6"] | 135 | ETag: [W/"064f9a87c08df2f323d84d6d7af9c345"] |
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: [cc26359b-b82e-44bc-aa92-010d1371227b] | 143 | X-Request-Id: [5d5ae84a-bb43-4300-9554-ceb1c16e7816] |
144 | X-Runtime: ['0.072355'] | 144 | X-Runtime: ['0.049153'] |
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} |
@@ -157,11 +157,11 @@ interactions: | |||
157 | method: POST | 157 | method: POST |
158 | uri: http://localhost:3000/api/v1/accounts/1/unfollow | 158 | uri: http://localhost:3000/api/v1/accounts/1/unfollow |
159 | response: | 159 | response: |
160 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} | 160 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} |
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/"8f010b455ba8645cafb08ac64d4c56e1"] | 164 | ETag: [W/"7de0bda800fc09d7aa7e4e09ff1e64ad"] |
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,10 +169,10 @@ 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: [cc2a9e4b-9d1a-499f-9e68-9e0a8bcbd55b] | 172 | X-Request-Id: [84b951b8-6419-46c9-a190-e50eab89fbec] |
173 | X-Runtime: ['0.134607'] | 173 | X-Runtime: ['0.086345'] |
174 | X-XSS-Protection: [1; mode=block] | 174 | X-XSS-Protection: [1; mode=block] |
175 | content-length: ['175'] | 175 | content-length: ['211'] |
176 | status: {code: 200, message: OK} | 176 | status: {code: 200, message: OK} |
177 | - request: | 177 | - request: |
178 | body: null | 178 | body: null |
@@ -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/17 | 187 | uri: http://localhost:3000/api/v1/lists/14 |
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/"9e6b8b88662bc6da804d2c4a9dcb93c2"] | 193 | ETag: [W/"1f19006d4e16e44010f8b60659bab0b0"] |
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: [bb3d3773-dcd2-4936-b017-b7fc6c43e58a] | 201 | X-Request-Id: [c3b79a30-dc4b-48b0-8843-bbe2a67b3714] |
202 | X-Runtime: ['0.132804'] | 202 | X-Runtime: ['0.022094'] |
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} |