diff options
Diffstat (limited to 'tests/cassettes/test_list_by_account.yaml')
-rw-r--r-- | tests/cassettes/test_list_by_account.yaml | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/tests/cassettes/test_list_by_account.yaml b/tests/cassettes/test_list_by_account.yaml index a7a1238..6340e83 100644 --- a/tests/cassettes/test_list_by_account.yaml +++ b/tests/cassettes/test_list_by_account.yaml | |||
@@ -8,15 +8,15 @@ interactions: | |||
8 | Connection: [keep-alive] | 8 | Connection: [keep-alive] |
9 | Content-Length: ['18'] | 9 | Content-Length: ['18'] |
10 | Content-Type: [application/x-www-form-urlencoded] | 10 | Content-Type: [application/x-www-form-urlencoded] |
11 | User-Agent: [python-requests/2.9.1] | 11 | User-Agent: [python-requests/2.18.4] |
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":"4","title":"ham burglars"}'} | 15 | body: {string: '{"id":"9","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/"5652f4548eeb240240c472bb1a3af562"] | 19 | ETag: [W/"0cfb62ec28516f1f944d1edde5fbaa35"] |
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: [95408511-16b5-444c-99d2-b14fad498a64] | 27 | X-Request-Id: [e1f21d90-93e8-4014-bf33-a7cdc349e9aa] |
28 | X-Runtime: ['0.082001'] | 28 | X-Runtime: ['0.021446'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['33'] | 30 | content-length: ['33'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
@@ -36,15 +36,15 @@ interactions: | |||
36 | Accept-Encoding: ['gzip, deflate'] | 36 | Accept-Encoding: ['gzip, deflate'] |
37 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | 37 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] |
38 | Connection: [keep-alive] | 38 | Connection: [keep-alive] |
39 | User-Agent: [python-requests/2.9.1] | 39 | User-Agent: [python-requests/2.18.4] |
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-06-05T19:58:37.960Z","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":0,"source":{"privacy":"public","sensitive":false,"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":5,"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/"c017bdb938eefa8a8034894054975d66"] | 47 | ETag: [W/"2c1db1f5c9c342772002bf0d4ff450ec"] |
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: [9b7fe285-a1a9-4beb-acb8-324c2eac89ef] | 55 | X-Request-Id: [0047cb29-9a8b-472b-b820-b82e628d36c0] |
56 | X-Runtime: ['0.139649'] | 56 | X-Runtime: ['0.017867'] |
57 | X-XSS-Protection: [1; mode=block] | 57 | X-XSS-Protection: [1; mode=block] |
58 | content-length: ['618'] | 58 | content-length: ['634'] |
59 | status: {code: 200, message: OK} | 59 | status: {code: 200, message: OK} |
60 | - request: | 60 | - request: |
61 | body: null | 61 | body: null |
@@ -65,7 +65,7 @@ interactions: | |||
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: ['0'] | 67 | Content-Length: ['0'] |
68 | User-Agent: [python-requests/2.9.1] | 68 | User-Agent: [python-requests/2.18.4] |
69 | method: POST | 69 | method: POST |
70 | uri: http://localhost:3000/api/v1/accounts/1/follow | 70 | uri: http://localhost:3000/api/v1/accounts/1/follow |
71 | response: | 71 | response: |
@@ -73,7 +73,7 @@ interactions: | |||
73 | headers: | 73 | headers: |
74 | Cache-Control: ['max-age=0, private, must-revalidate'] | 74 | Cache-Control: ['max-age=0, private, must-revalidate'] |
75 | Content-Type: [application/json; charset=utf-8] | 75 | Content-Type: [application/json; charset=utf-8] |
76 | ETag: [W/"bcbf0a54a300dfa406a3bb2e03c0dc7a"] | 76 | ETag: [W/"d0a82968c8f9aeedda238946aae1989a"] |
77 | Referrer-Policy: [strict-origin-when-cross-origin] | 77 | Referrer-Policy: [strict-origin-when-cross-origin] |
78 | Transfer-Encoding: [chunked] | 78 | Transfer-Encoding: [chunked] |
79 | Vary: ['Accept-Encoding, Origin'] | 79 | Vary: ['Accept-Encoding, Origin'] |
@@ -81,8 +81,8 @@ interactions: | |||
81 | X-Download-Options: [noopen] | 81 | X-Download-Options: [noopen] |
82 | X-Frame-Options: [SAMEORIGIN] | 82 | X-Frame-Options: [SAMEORIGIN] |
83 | X-Permitted-Cross-Domain-Policies: [none] | 83 | X-Permitted-Cross-Domain-Policies: [none] |
84 | X-Request-Id: [f4455a91-8459-4894-a6f0-7df573ab97a3] | 84 | X-Request-Id: [76639bf0-e7fe-4c88-8bc9-e0c7de46e577] |
85 | X-Runtime: ['0.418318'] | 85 | X-Runtime: ['0.072864'] |
86 | X-XSS-Protection: [1; mode=block] | 86 | X-XSS-Protection: [1; mode=block] |
87 | content-length: ['174'] | 87 | content-length: ['174'] |
88 | status: {code: 200, message: OK} | 88 | status: {code: 200, message: OK} |
@@ -95,15 +95,15 @@ interactions: | |||
95 | Connection: [keep-alive] | 95 | Connection: [keep-alive] |
96 | Content-Length: ['19'] | 96 | Content-Length: ['19'] |
97 | Content-Type: [application/x-www-form-urlencoded] | 97 | Content-Type: [application/x-www-form-urlencoded] |
98 | User-Agent: [python-requests/2.9.1] | 98 | User-Agent: [python-requests/2.18.4] |
99 | method: POST | 99 | method: POST |
100 | uri: http://localhost:3000/api/v1/lists/4/accounts | 100 | uri: http://localhost:3000/api/v1/lists/9/accounts |
101 | response: | 101 | response: |
102 | body: {string: '{}'} | 102 | body: {string: '{}'} |
103 | headers: | 103 | headers: |
104 | Cache-Control: ['max-age=0, private, must-revalidate'] | 104 | Cache-Control: ['max-age=0, private, must-revalidate'] |
105 | Content-Type: [application/json; charset=utf-8] | 105 | Content-Type: [application/json; charset=utf-8] |
106 | ETag: [W/"88bda25f452d0221c0a5cf9ba90fd81a"] | 106 | ETag: [W/"f39c5a269dd640bacf5a55db8d2d3e90"] |
107 | Referrer-Policy: [strict-origin-when-cross-origin] | 107 | Referrer-Policy: [strict-origin-when-cross-origin] |
108 | Transfer-Encoding: [chunked] | 108 | Transfer-Encoding: [chunked] |
109 | Vary: ['Accept-Encoding, Origin'] | 109 | Vary: ['Accept-Encoding, Origin'] |
@@ -111,8 +111,8 @@ interactions: | |||
111 | X-Download-Options: [noopen] | 111 | X-Download-Options: [noopen] |
112 | X-Frame-Options: [SAMEORIGIN] | 112 | X-Frame-Options: [SAMEORIGIN] |
113 | X-Permitted-Cross-Domain-Policies: [none] | 113 | X-Permitted-Cross-Domain-Policies: [none] |
114 | X-Request-Id: [2b43424f-8d7a-4cc3-a3d1-dc3bfd9bcea4] | 114 | X-Request-Id: [f3b0ce92-006d-410e-8d01-f0f93cc7443b] |
115 | X-Runtime: ['0.129306'] | 115 | X-Runtime: ['0.048021'] |
116 | X-XSS-Protection: [1; mode=block] | 116 | X-XSS-Protection: [1; mode=block] |
117 | content-length: ['2'] | 117 | content-length: ['2'] |
118 | status: {code: 200, message: OK} | 118 | status: {code: 200, message: OK} |
@@ -123,15 +123,15 @@ interactions: | |||
123 | Accept-Encoding: ['gzip, deflate'] | 123 | Accept-Encoding: ['gzip, deflate'] |
124 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 124 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
125 | Connection: [keep-alive] | 125 | Connection: [keep-alive] |
126 | User-Agent: [python-requests/2.9.1] | 126 | User-Agent: [python-requests/2.18.4] |
127 | method: GET | 127 | method: GET |
128 | uri: http://localhost:3000/api/v1/accounts/1/lists | 128 | uri: http://localhost:3000/api/v1/accounts/1/lists |
129 | response: | 129 | response: |
130 | body: {string: '[{"id":"4","title":"ham burglars"}]'} | 130 | body: {string: '[{"id":"9","title":"ham burglars"}]'} |
131 | headers: | 131 | headers: |
132 | Cache-Control: ['max-age=0, private, must-revalidate'] | 132 | Cache-Control: ['max-age=0, private, must-revalidate'] |
133 | Content-Type: [application/json; charset=utf-8] | 133 | Content-Type: [application/json; charset=utf-8] |
134 | ETag: [W/"bf9fc860ee5a24974e252d7ae389fadc"] | 134 | ETag: [W/"a2969b9e5d7329b172f845038528a9f8"] |
135 | Referrer-Policy: [strict-origin-when-cross-origin] | 135 | Referrer-Policy: [strict-origin-when-cross-origin] |
136 | Transfer-Encoding: [chunked] | 136 | Transfer-Encoding: [chunked] |
137 | Vary: ['Accept-Encoding, Origin'] | 137 | Vary: ['Accept-Encoding, Origin'] |
@@ -139,8 +139,8 @@ interactions: | |||
139 | X-Download-Options: [noopen] | 139 | X-Download-Options: [noopen] |
140 | X-Frame-Options: [SAMEORIGIN] | 140 | X-Frame-Options: [SAMEORIGIN] |
141 | X-Permitted-Cross-Domain-Policies: [none] | 141 | X-Permitted-Cross-Domain-Policies: [none] |
142 | X-Request-Id: [ad34b645-6caf-4a20-98dd-c1f24d87f9c5] | 142 | X-Request-Id: [591c3ebd-0fa5-4efb-aa0a-b3ccf251c4ef] |
143 | X-Runtime: ['0.062866'] | 143 | X-Runtime: ['0.027378'] |
144 | X-XSS-Protection: [1; mode=block] | 144 | X-XSS-Protection: [1; mode=block] |
145 | content-length: ['35'] | 145 | content-length: ['35'] |
146 | status: {code: 200, message: OK} | 146 | status: {code: 200, message: OK} |
@@ -152,7 +152,7 @@ interactions: | |||
152 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 152 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
153 | Connection: [keep-alive] | 153 | Connection: [keep-alive] |
154 | Content-Length: ['0'] | 154 | Content-Length: ['0'] |
155 | User-Agent: [python-requests/2.9.1] | 155 | User-Agent: [python-requests/2.18.4] |
156 | method: POST | 156 | method: POST |
157 | uri: http://localhost:3000/api/v1/accounts/1/unfollow | 157 | uri: http://localhost:3000/api/v1/accounts/1/unfollow |
158 | response: | 158 | response: |
@@ -160,7 +160,7 @@ interactions: | |||
160 | headers: | 160 | headers: |
161 | Cache-Control: ['max-age=0, private, must-revalidate'] | 161 | Cache-Control: ['max-age=0, private, must-revalidate'] |
162 | Content-Type: [application/json; charset=utf-8] | 162 | Content-Type: [application/json; charset=utf-8] |
163 | ETag: [W/"9047f6dec9bb4896993e3fc15c6b4bef"] | 163 | ETag: [W/"78d855ca7c8355ade68a375107a29ae3"] |
164 | Referrer-Policy: [strict-origin-when-cross-origin] | 164 | Referrer-Policy: [strict-origin-when-cross-origin] |
165 | Transfer-Encoding: [chunked] | 165 | Transfer-Encoding: [chunked] |
166 | Vary: ['Accept-Encoding, Origin'] | 166 | Vary: ['Accept-Encoding, Origin'] |
@@ -168,8 +168,8 @@ interactions: | |||
168 | X-Download-Options: [noopen] | 168 | X-Download-Options: [noopen] |
169 | X-Frame-Options: [SAMEORIGIN] | 169 | X-Frame-Options: [SAMEORIGIN] |
170 | X-Permitted-Cross-Domain-Policies: [none] | 170 | X-Permitted-Cross-Domain-Policies: [none] |
171 | X-Request-Id: [2adbd14c-fa4d-4606-bf56-9dbf61767f8f] | 171 | X-Request-Id: [227aee7e-4f8d-4dec-9e27-813b9870fe39] |
172 | X-Runtime: ['0.118645'] | 172 | X-Runtime: ['0.042813'] |
173 | X-XSS-Protection: [1; mode=block] | 173 | X-XSS-Protection: [1; mode=block] |
174 | content-length: ['175'] | 174 | content-length: ['175'] |
175 | status: {code: 200, message: OK} | 175 | status: {code: 200, message: OK} |
@@ -181,15 +181,15 @@ interactions: | |||
181 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 181 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
182 | Connection: [keep-alive] | 182 | Connection: [keep-alive] |
183 | Content-Length: ['0'] | 183 | Content-Length: ['0'] |
184 | User-Agent: [python-requests/2.9.1] | 184 | User-Agent: [python-requests/2.18.4] |
185 | method: DELETE | 185 | method: DELETE |
186 | uri: http://localhost:3000/api/v1/lists/4 | 186 | uri: http://localhost:3000/api/v1/lists/9 |
187 | response: | 187 | response: |
188 | body: {string: '{}'} | 188 | body: {string: '{}'} |
189 | headers: | 189 | headers: |
190 | Cache-Control: ['max-age=0, private, must-revalidate'] | 190 | Cache-Control: ['max-age=0, private, must-revalidate'] |
191 | Content-Type: [application/json; charset=utf-8] | 191 | Content-Type: [application/json; charset=utf-8] |
192 | ETag: [W/"88bda25f452d0221c0a5cf9ba90fd81a"] | 192 | ETag: [W/"f39c5a269dd640bacf5a55db8d2d3e90"] |
193 | Referrer-Policy: [strict-origin-when-cross-origin] | 193 | Referrer-Policy: [strict-origin-when-cross-origin] |
194 | Transfer-Encoding: [chunked] | 194 | Transfer-Encoding: [chunked] |
195 | Vary: ['Accept-Encoding, Origin'] | 195 | Vary: ['Accept-Encoding, Origin'] |
@@ -197,8 +197,8 @@ interactions: | |||
197 | X-Download-Options: [noopen] | 197 | X-Download-Options: [noopen] |
198 | X-Frame-Options: [SAMEORIGIN] | 198 | X-Frame-Options: [SAMEORIGIN] |
199 | X-Permitted-Cross-Domain-Policies: [none] | 199 | X-Permitted-Cross-Domain-Policies: [none] |
200 | X-Request-Id: [2eb0df1b-4ae3-4456-92c5-ec1b77c72b7f] | 200 | X-Request-Id: [76ebc393-c790-40fd-abb3-dcd7d35e351e] |
201 | X-Runtime: ['0.062035'] | 201 | X-Runtime: ['0.047284'] |
202 | X-XSS-Protection: [1; mode=block] | 202 | X-XSS-Protection: [1; mode=block] |
203 | content-length: ['2'] | 203 | content-length: ['2'] |
204 | status: {code: 200, message: OK} | 204 | status: {code: 200, message: OK} |