diff options
Diffstat (limited to 'tests/cassettes/test_list_by_account.yaml')
-rw-r--r-- | tests/cassettes/test_list_by_account.yaml | 63 |
1 files changed, 28 insertions, 35 deletions
diff --git a/tests/cassettes/test_list_by_account.yaml b/tests/cassettes/test_list_by_account.yaml index 2b0c422..2a32f39 100644 --- a/tests/cassettes/test_list_by_account.yaml +++ b/tests/cassettes/test_list_by_account.yaml | |||
@@ -12,11 +12,10 @@ 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":"14","title":"ham burglars"}'} | 15 | body: {string: '{"id":"4","title":"ham burglars"}'} |
16 | headers: | 16 | headers: |
17 | Cache-Control: ['max-age=0, private, must-revalidate'] | 17 | Cache-Control: ['no-cache, no-store'] |
18 | Content-Type: [application/json; charset=utf-8] | 18 | Content-Type: [application/json; charset=utf-8] |
19 | ETag: [W/"8247248ef314b99a42399ecd68df8cbc"] | ||
20 | Referrer-Policy: [strict-origin-when-cross-origin] | 19 | Referrer-Policy: [strict-origin-when-cross-origin] |
21 | Transfer-Encoding: [chunked] | 20 | Transfer-Encoding: [chunked] |
22 | Vary: ['Accept-Encoding, Origin'] | 21 | Vary: ['Accept-Encoding, Origin'] |
@@ -24,10 +23,10 @@ interactions: | |||
24 | X-Download-Options: [noopen] | 23 | X-Download-Options: [noopen] |
25 | X-Frame-Options: [SAMEORIGIN] | 24 | X-Frame-Options: [SAMEORIGIN] |
26 | X-Permitted-Cross-Domain-Policies: [none] | 25 | X-Permitted-Cross-Domain-Policies: [none] |
27 | X-Request-Id: [6933e1c3-5dd0-4ad3-91f2-c6a110bf03b0] | 26 | X-Request-Id: [c1ab893a-1331-4c16-a438-c5d5927ba280] |
28 | X-Runtime: ['0.023268'] | 27 | X-Runtime: ['0.022531'] |
29 | X-XSS-Protection: [1; mode=block] | 28 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['34'] | 29 | content-length: ['33'] |
31 | status: {code: 200, message: OK} | 30 | status: {code: 200, message: OK} |
32 | - request: | 31 | - request: |
33 | body: null | 32 | body: null |
@@ -40,11 +39,10 @@ interactions: | |||
40 | method: GET | 39 | method: GET |
41 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 40 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
42 | response: | 41 | response: |
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":[]}'} | 42 | 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":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} |
44 | headers: | 43 | headers: |
45 | Cache-Control: ['max-age=0, private, must-revalidate'] | 44 | Cache-Control: ['no-cache, no-store'] |
46 | Content-Type: [application/json; charset=utf-8] | 45 | Content-Type: [application/json; charset=utf-8] |
47 | ETag: [W/"2e9e6004bf46c303088605fe48e20847"] | ||
48 | Referrer-Policy: [strict-origin-when-cross-origin] | 46 | Referrer-Policy: [strict-origin-when-cross-origin] |
49 | Transfer-Encoding: [chunked] | 47 | Transfer-Encoding: [chunked] |
50 | Vary: ['Accept-Encoding, Origin'] | 48 | Vary: ['Accept-Encoding, Origin'] |
@@ -52,8 +50,8 @@ interactions: | |||
52 | X-Download-Options: [noopen] | 50 | X-Download-Options: [noopen] |
53 | X-Frame-Options: [SAMEORIGIN] | 51 | X-Frame-Options: [SAMEORIGIN] |
54 | X-Permitted-Cross-Domain-Policies: [none] | 52 | X-Permitted-Cross-Domain-Policies: [none] |
55 | X-Request-Id: [fd21f18d-ee14-4826-b7f2-580f0561fd50] | 53 | X-Request-Id: [29319e34-a1b2-42d7-bcb7-492ebe7856fb] |
56 | X-Runtime: ['0.022522'] | 54 | X-Runtime: ['0.048339'] |
57 | X-XSS-Protection: [1; mode=block] | 55 | X-XSS-Protection: [1; mode=block] |
58 | content-length: ['609'] | 56 | content-length: ['609'] |
59 | status: {code: 200, message: OK} | 57 | status: {code: 200, message: OK} |
@@ -72,9 +70,8 @@ interactions: | |||
72 | response: | 70 | response: |
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}'} | 71 | 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: | 72 | headers: |
75 | Cache-Control: ['max-age=0, private, must-revalidate'] | 73 | Cache-Control: ['no-cache, no-store'] |
76 | Content-Type: [application/json; charset=utf-8] | 74 | Content-Type: [application/json; charset=utf-8] |
77 | ETag: [W/"1d5525111153d4ca106111ca8fd589c9"] | ||
78 | Referrer-Policy: [strict-origin-when-cross-origin] | 75 | Referrer-Policy: [strict-origin-when-cross-origin] |
79 | Transfer-Encoding: [chunked] | 76 | Transfer-Encoding: [chunked] |
80 | Vary: ['Accept-Encoding, Origin'] | 77 | Vary: ['Accept-Encoding, Origin'] |
@@ -82,8 +79,8 @@ interactions: | |||
82 | X-Download-Options: [noopen] | 79 | X-Download-Options: [noopen] |
83 | X-Frame-Options: [SAMEORIGIN] | 80 | X-Frame-Options: [SAMEORIGIN] |
84 | X-Permitted-Cross-Domain-Policies: [none] | 81 | X-Permitted-Cross-Domain-Policies: [none] |
85 | X-Request-Id: [f4fafc41-adf2-49f5-ace9-89f934a484db] | 82 | X-Request-Id: [f011c6d6-dda8-43aa-85c2-825c56e55356] |
86 | X-Runtime: ['0.100376'] | 83 | X-Runtime: ['0.089818'] |
87 | X-XSS-Protection: [1; mode=block] | 84 | X-XSS-Protection: [1; mode=block] |
88 | content-length: ['209'] | 85 | content-length: ['209'] |
89 | status: {code: 200, message: OK} | 86 | status: {code: 200, message: OK} |
@@ -98,13 +95,12 @@ interactions: | |||
98 | Content-Type: [application/x-www-form-urlencoded] | 95 | Content-Type: [application/x-www-form-urlencoded] |
99 | User-Agent: [python-requests/2.18.4] | 96 | User-Agent: [python-requests/2.18.4] |
100 | method: POST | 97 | method: POST |
101 | uri: http://localhost:3000/api/v1/lists/14/accounts | 98 | uri: http://localhost:3000/api/v1/lists/4/accounts |
102 | response: | 99 | response: |
103 | body: {string: '{}'} | 100 | body: {string: '{}'} |
104 | headers: | 101 | headers: |
105 | Cache-Control: ['max-age=0, private, must-revalidate'] | 102 | Cache-Control: ['no-cache, no-store'] |
106 | Content-Type: [application/json; charset=utf-8] | 103 | Content-Type: [application/json; charset=utf-8] |
107 | ETag: [W/"1f19006d4e16e44010f8b60659bab0b0"] | ||
108 | Referrer-Policy: [strict-origin-when-cross-origin] | 104 | Referrer-Policy: [strict-origin-when-cross-origin] |
109 | Transfer-Encoding: [chunked] | 105 | Transfer-Encoding: [chunked] |
110 | Vary: ['Accept-Encoding, Origin'] | 106 | Vary: ['Accept-Encoding, Origin'] |
@@ -112,8 +108,8 @@ interactions: | |||
112 | X-Download-Options: [noopen] | 108 | X-Download-Options: [noopen] |
113 | X-Frame-Options: [SAMEORIGIN] | 109 | X-Frame-Options: [SAMEORIGIN] |
114 | X-Permitted-Cross-Domain-Policies: [none] | 110 | X-Permitted-Cross-Domain-Policies: [none] |
115 | X-Request-Id: [147f5c72-4189-4239-ba22-769519f55fb4] | 111 | X-Request-Id: [d822d920-1ba7-4662-9377-03461c5a902e] |
116 | X-Runtime: ['0.084526'] | 112 | X-Runtime: ['0.032625'] |
117 | X-XSS-Protection: [1; mode=block] | 113 | X-XSS-Protection: [1; mode=block] |
118 | content-length: ['2'] | 114 | content-length: ['2'] |
119 | status: {code: 200, message: OK} | 115 | status: {code: 200, message: OK} |
@@ -128,11 +124,10 @@ interactions: | |||
128 | method: GET | 124 | method: GET |
129 | uri: http://localhost:3000/api/v1/accounts/1/lists | 125 | uri: http://localhost:3000/api/v1/accounts/1/lists |
130 | response: | 126 | response: |
131 | body: {string: '[{"id":"14","title":"ham burglars"}]'} | 127 | body: {string: '[{"id":"4","title":"ham burglars"}]'} |
132 | headers: | 128 | headers: |
133 | Cache-Control: ['max-age=0, private, must-revalidate'] | 129 | Cache-Control: ['no-cache, no-store'] |
134 | Content-Type: [application/json; charset=utf-8] | 130 | Content-Type: [application/json; charset=utf-8] |
135 | ETag: [W/"064f9a87c08df2f323d84d6d7af9c345"] | ||
136 | Referrer-Policy: [strict-origin-when-cross-origin] | 131 | Referrer-Policy: [strict-origin-when-cross-origin] |
137 | Transfer-Encoding: [chunked] | 132 | Transfer-Encoding: [chunked] |
138 | Vary: ['Accept-Encoding, Origin'] | 133 | Vary: ['Accept-Encoding, Origin'] |
@@ -140,10 +135,10 @@ interactions: | |||
140 | X-Download-Options: [noopen] | 135 | X-Download-Options: [noopen] |
141 | X-Frame-Options: [SAMEORIGIN] | 136 | X-Frame-Options: [SAMEORIGIN] |
142 | X-Permitted-Cross-Domain-Policies: [none] | 137 | X-Permitted-Cross-Domain-Policies: [none] |
143 | X-Request-Id: [5d5ae84a-bb43-4300-9554-ceb1c16e7816] | 138 | X-Request-Id: [bf776395-6646-44c8-9485-9415071e9ec7] |
144 | X-Runtime: ['0.049153'] | 139 | X-Runtime: ['0.034514'] |
145 | X-XSS-Protection: [1; mode=block] | 140 | X-XSS-Protection: [1; mode=block] |
146 | content-length: ['36'] | 141 | content-length: ['35'] |
147 | status: {code: 200, message: OK} | 142 | status: {code: 200, message: OK} |
148 | - request: | 143 | - request: |
149 | body: null | 144 | body: null |
@@ -159,9 +154,8 @@ interactions: | |||
159 | response: | 154 | response: |
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}'} | 155 | 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: | 156 | headers: |
162 | Cache-Control: ['max-age=0, private, must-revalidate'] | 157 | Cache-Control: ['no-cache, no-store'] |
163 | Content-Type: [application/json; charset=utf-8] | 158 | Content-Type: [application/json; charset=utf-8] |
164 | ETag: [W/"7de0bda800fc09d7aa7e4e09ff1e64ad"] | ||
165 | Referrer-Policy: [strict-origin-when-cross-origin] | 159 | Referrer-Policy: [strict-origin-when-cross-origin] |
166 | Transfer-Encoding: [chunked] | 160 | Transfer-Encoding: [chunked] |
167 | Vary: ['Accept-Encoding, Origin'] | 161 | Vary: ['Accept-Encoding, Origin'] |
@@ -169,8 +163,8 @@ interactions: | |||
169 | X-Download-Options: [noopen] | 163 | X-Download-Options: [noopen] |
170 | X-Frame-Options: [SAMEORIGIN] | 164 | X-Frame-Options: [SAMEORIGIN] |
171 | X-Permitted-Cross-Domain-Policies: [none] | 165 | X-Permitted-Cross-Domain-Policies: [none] |
172 | X-Request-Id: [84b951b8-6419-46c9-a190-e50eab89fbec] | 166 | X-Request-Id: [deb7180d-c44f-46f0-9a0c-c3c1d85cf0f5] |
173 | X-Runtime: ['0.086345'] | 167 | X-Runtime: ['0.055473'] |
174 | X-XSS-Protection: [1; mode=block] | 168 | X-XSS-Protection: [1; mode=block] |
175 | content-length: ['211'] | 169 | content-length: ['211'] |
176 | status: {code: 200, message: OK} | 170 | status: {code: 200, message: OK} |
@@ -184,13 +178,12 @@ interactions: | |||
184 | Content-Length: ['0'] | 178 | Content-Length: ['0'] |
185 | User-Agent: [python-requests/2.18.4] | 179 | User-Agent: [python-requests/2.18.4] |
186 | method: DELETE | 180 | method: DELETE |
187 | uri: http://localhost:3000/api/v1/lists/14 | 181 | uri: http://localhost:3000/api/v1/lists/4 |
188 | response: | 182 | response: |
189 | body: {string: '{}'} | 183 | body: {string: '{}'} |
190 | headers: | 184 | headers: |
191 | Cache-Control: ['max-age=0, private, must-revalidate'] | 185 | Cache-Control: ['no-cache, no-store'] |
192 | Content-Type: [application/json; charset=utf-8] | 186 | Content-Type: [application/json; charset=utf-8] |
193 | ETag: [W/"1f19006d4e16e44010f8b60659bab0b0"] | ||
194 | Referrer-Policy: [strict-origin-when-cross-origin] | 187 | Referrer-Policy: [strict-origin-when-cross-origin] |
195 | Transfer-Encoding: [chunked] | 188 | Transfer-Encoding: [chunked] |
196 | Vary: ['Accept-Encoding, Origin'] | 189 | Vary: ['Accept-Encoding, Origin'] |
@@ -198,8 +191,8 @@ interactions: | |||
198 | X-Download-Options: [noopen] | 191 | X-Download-Options: [noopen] |
199 | X-Frame-Options: [SAMEORIGIN] | 192 | X-Frame-Options: [SAMEORIGIN] |
200 | X-Permitted-Cross-Domain-Policies: [none] | 193 | X-Permitted-Cross-Domain-Policies: [none] |
201 | X-Request-Id: [c3b79a30-dc4b-48b0-8843-bbe2a67b3714] | 194 | X-Request-Id: [267bccdc-f62a-4b0e-9e65-b510cb210f1a] |
202 | X-Runtime: ['0.022094'] | 195 | X-Runtime: ['0.025082'] |
203 | X-XSS-Protection: [1; mode=block] | 196 | X-XSS-Protection: [1; mode=block] |
204 | content-length: ['2'] | 197 | content-length: ['2'] |
205 | status: {code: 200, message: OK} | 198 | status: {code: 200, message: OK} |