diff options
Diffstat (limited to 'tests/cassettes/test_list_by_account.yaml')
-rw-r--r-- | tests/cassettes/test_list_by_account.yaml | 75 |
1 files changed, 48 insertions, 27 deletions
diff --git a/tests/cassettes/test_list_by_account.yaml b/tests/cassettes/test_list_by_account.yaml index 4546977..a7a1238 100644 --- a/tests/cassettes/test_list_by_account.yaml +++ b/tests/cassettes/test_list_by_account.yaml | |||
@@ -12,17 +12,20 @@ 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":"9","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: ['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/"640f48d875075b3e649f85c290d31fd1"] | 19 | ETag: [W/"5652f4548eeb240240c472bb1a3af562"] |
20 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
20 | Transfer-Encoding: [chunked] | 21 | Transfer-Encoding: [chunked] |
21 | Vary: ['Accept-Encoding, Origin'] | 22 | Vary: ['Accept-Encoding, Origin'] |
22 | X-Content-Type-Options: [nosniff] | 23 | X-Content-Type-Options: [nosniff] |
24 | X-Download-Options: [noopen] | ||
23 | X-Frame-Options: [SAMEORIGIN] | 25 | X-Frame-Options: [SAMEORIGIN] |
24 | X-Request-Id: [1d9ac5dc-12bb-4912-a97f-1d6af93e9ff2] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
25 | X-Runtime: ['0.049308'] | 27 | X-Request-Id: [95408511-16b5-444c-99d2-b14fad498a64] |
28 | X-Runtime: ['0.082001'] | ||
26 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['33'] | 30 | content-length: ['33'] |
28 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
@@ -37,19 +40,22 @@ interactions: | |||
37 | method: GET | 40 | method: GET |
38 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 41 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
39 | response: | 42 | response: |
40 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","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":3,"source":{"privacy":"public","sensitive":false,"note":""}}'} | 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":[]}'} |
41 | headers: | 44 | headers: |
42 | Cache-Control: ['max-age=0, private, must-revalidate'] | 45 | Cache-Control: ['max-age=0, private, must-revalidate'] |
43 | Content-Type: [application/json; charset=utf-8] | 46 | Content-Type: [application/json; charset=utf-8] |
44 | ETag: [W/"51219e03abcdd2d127bb724fe0a838d6"] | 47 | ETag: [W/"c017bdb938eefa8a8034894054975d66"] |
48 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
45 | Transfer-Encoding: [chunked] | 49 | Transfer-Encoding: [chunked] |
46 | Vary: ['Accept-Encoding, Origin'] | 50 | Vary: ['Accept-Encoding, Origin'] |
47 | X-Content-Type-Options: [nosniff] | 51 | X-Content-Type-Options: [nosniff] |
52 | X-Download-Options: [noopen] | ||
48 | X-Frame-Options: [SAMEORIGIN] | 53 | X-Frame-Options: [SAMEORIGIN] |
49 | X-Request-Id: [3e80d124-aae6-435b-8a1b-e0a0cad63ccd] | 54 | X-Permitted-Cross-Domain-Policies: [none] |
50 | X-Runtime: ['0.036737'] | 55 | X-Request-Id: [9b7fe285-a1a9-4beb-acb8-324c2eac89ef] |
56 | X-Runtime: ['0.139649'] | ||
51 | X-XSS-Protection: [1; mode=block] | 57 | X-XSS-Protection: [1; mode=block] |
52 | content-length: ['570'] | 58 | content-length: ['618'] |
53 | status: {code: 200, message: OK} | 59 | status: {code: 200, message: OK} |
54 | - request: | 60 | - request: |
55 | body: null | 61 | body: null |
@@ -67,13 +73,16 @@ interactions: | |||
67 | headers: | 73 | headers: |
68 | Cache-Control: ['max-age=0, private, must-revalidate'] | 74 | Cache-Control: ['max-age=0, private, must-revalidate'] |
69 | Content-Type: [application/json; charset=utf-8] | 75 | Content-Type: [application/json; charset=utf-8] |
70 | ETag: [W/"a68e62a364c40a8a5da2e2143dcfaecd"] | 76 | ETag: [W/"bcbf0a54a300dfa406a3bb2e03c0dc7a"] |
77 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
71 | Transfer-Encoding: [chunked] | 78 | Transfer-Encoding: [chunked] |
72 | Vary: ['Accept-Encoding, Origin'] | 79 | Vary: ['Accept-Encoding, Origin'] |
73 | X-Content-Type-Options: [nosniff] | 80 | X-Content-Type-Options: [nosniff] |
81 | X-Download-Options: [noopen] | ||
74 | X-Frame-Options: [SAMEORIGIN] | 82 | X-Frame-Options: [SAMEORIGIN] |
75 | X-Request-Id: [7c8099fa-0867-4cce-8319-a83c9cd99bc6] | 83 | X-Permitted-Cross-Domain-Policies: [none] |
76 | X-Runtime: ['0.134127'] | 84 | X-Request-Id: [f4455a91-8459-4894-a6f0-7df573ab97a3] |
85 | X-Runtime: ['0.418318'] | ||
77 | X-XSS-Protection: [1; mode=block] | 86 | X-XSS-Protection: [1; mode=block] |
78 | content-length: ['174'] | 87 | content-length: ['174'] |
79 | status: {code: 200, message: OK} | 88 | status: {code: 200, message: OK} |
@@ -88,19 +97,22 @@ interactions: | |||
88 | Content-Type: [application/x-www-form-urlencoded] | 97 | Content-Type: [application/x-www-form-urlencoded] |
89 | User-Agent: [python-requests/2.9.1] | 98 | User-Agent: [python-requests/2.9.1] |
90 | method: POST | 99 | method: POST |
91 | uri: http://localhost:3000/api/v1/lists/9/accounts | 100 | uri: http://localhost:3000/api/v1/lists/4/accounts |
92 | response: | 101 | response: |
93 | body: {string: '{}'} | 102 | body: {string: '{}'} |
94 | headers: | 103 | headers: |
95 | Cache-Control: ['max-age=0, private, must-revalidate'] | 104 | Cache-Control: ['max-age=0, private, must-revalidate'] |
96 | Content-Type: [application/json; charset=utf-8] | 105 | Content-Type: [application/json; charset=utf-8] |
97 | ETag: [W/"9f1be5e69062532601176acaaa81e8db"] | 106 | ETag: [W/"88bda25f452d0221c0a5cf9ba90fd81a"] |
107 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
98 | Transfer-Encoding: [chunked] | 108 | Transfer-Encoding: [chunked] |
99 | Vary: ['Accept-Encoding, Origin'] | 109 | Vary: ['Accept-Encoding, Origin'] |
100 | X-Content-Type-Options: [nosniff] | 110 | X-Content-Type-Options: [nosniff] |
111 | X-Download-Options: [noopen] | ||
101 | X-Frame-Options: [SAMEORIGIN] | 112 | X-Frame-Options: [SAMEORIGIN] |
102 | X-Request-Id: [6b6e6e37-0bbd-4532-99a3-dfa746739733] | 113 | X-Permitted-Cross-Domain-Policies: [none] |
103 | X-Runtime: ['0.040029'] | 114 | X-Request-Id: [2b43424f-8d7a-4cc3-a3d1-dc3bfd9bcea4] |
115 | X-Runtime: ['0.129306'] | ||
104 | X-XSS-Protection: [1; mode=block] | 116 | X-XSS-Protection: [1; mode=block] |
105 | content-length: ['2'] | 117 | content-length: ['2'] |
106 | status: {code: 200, message: OK} | 118 | status: {code: 200, message: OK} |
@@ -115,17 +127,20 @@ interactions: | |||
115 | method: GET | 127 | method: GET |
116 | uri: http://localhost:3000/api/v1/accounts/1/lists | 128 | uri: http://localhost:3000/api/v1/accounts/1/lists |
117 | response: | 129 | response: |
118 | body: {string: '[{"id":"9","title":"ham burglars"}]'} | 130 | body: {string: '[{"id":"4","title":"ham burglars"}]'} |
119 | headers: | 131 | headers: |
120 | Cache-Control: ['max-age=0, private, must-revalidate'] | 132 | Cache-Control: ['max-age=0, private, must-revalidate'] |
121 | Content-Type: [application/json; charset=utf-8] | 133 | Content-Type: [application/json; charset=utf-8] |
122 | ETag: [W/"5f364b9443a59ad23cb424bc96d9f5e8"] | 134 | ETag: [W/"bf9fc860ee5a24974e252d7ae389fadc"] |
135 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
123 | Transfer-Encoding: [chunked] | 136 | Transfer-Encoding: [chunked] |
124 | Vary: ['Accept-Encoding, Origin'] | 137 | Vary: ['Accept-Encoding, Origin'] |
125 | X-Content-Type-Options: [nosniff] | 138 | X-Content-Type-Options: [nosniff] |
139 | X-Download-Options: [noopen] | ||
126 | X-Frame-Options: [SAMEORIGIN] | 140 | X-Frame-Options: [SAMEORIGIN] |
127 | X-Request-Id: [5b3c9ed2-e3e1-4fb2-9d48-6f119f413354] | 141 | X-Permitted-Cross-Domain-Policies: [none] |
128 | X-Runtime: ['0.018570'] | 142 | X-Request-Id: [ad34b645-6caf-4a20-98dd-c1f24d87f9c5] |
143 | X-Runtime: ['0.062866'] | ||
129 | X-XSS-Protection: [1; mode=block] | 144 | X-XSS-Protection: [1; mode=block] |
130 | content-length: ['35'] | 145 | content-length: ['35'] |
131 | status: {code: 200, message: OK} | 146 | status: {code: 200, message: OK} |
@@ -145,13 +160,16 @@ interactions: | |||
145 | headers: | 160 | headers: |
146 | Cache-Control: ['max-age=0, private, must-revalidate'] | 161 | Cache-Control: ['max-age=0, private, must-revalidate'] |
147 | Content-Type: [application/json; charset=utf-8] | 162 | Content-Type: [application/json; charset=utf-8] |
148 | ETag: [W/"fc1dc246eca7eb18d44186a403f34e4d"] | 163 | ETag: [W/"9047f6dec9bb4896993e3fc15c6b4bef"] |
164 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
149 | Transfer-Encoding: [chunked] | 165 | Transfer-Encoding: [chunked] |
150 | Vary: ['Accept-Encoding, Origin'] | 166 | Vary: ['Accept-Encoding, Origin'] |
151 | X-Content-Type-Options: [nosniff] | 167 | X-Content-Type-Options: [nosniff] |
168 | X-Download-Options: [noopen] | ||
152 | X-Frame-Options: [SAMEORIGIN] | 169 | X-Frame-Options: [SAMEORIGIN] |
153 | X-Request-Id: [81376983-689a-42f6-beeb-fdcfebaf8079] | 170 | X-Permitted-Cross-Domain-Policies: [none] |
154 | X-Runtime: ['0.044272'] | 171 | X-Request-Id: [2adbd14c-fa4d-4606-bf56-9dbf61767f8f] |
172 | X-Runtime: ['0.118645'] | ||
155 | X-XSS-Protection: [1; mode=block] | 173 | X-XSS-Protection: [1; mode=block] |
156 | content-length: ['175'] | 174 | content-length: ['175'] |
157 | status: {code: 200, message: OK} | 175 | status: {code: 200, message: OK} |
@@ -165,19 +183,22 @@ interactions: | |||
165 | Content-Length: ['0'] | 183 | Content-Length: ['0'] |
166 | User-Agent: [python-requests/2.9.1] | 184 | User-Agent: [python-requests/2.9.1] |
167 | method: DELETE | 185 | method: DELETE |
168 | uri: http://localhost:3000/api/v1/lists/9 | 186 | uri: http://localhost:3000/api/v1/lists/4 |
169 | response: | 187 | response: |
170 | body: {string: '{}'} | 188 | body: {string: '{}'} |
171 | headers: | 189 | headers: |
172 | Cache-Control: ['max-age=0, private, must-revalidate'] | 190 | Cache-Control: ['max-age=0, private, must-revalidate'] |
173 | Content-Type: [application/json; charset=utf-8] | 191 | Content-Type: [application/json; charset=utf-8] |
174 | ETag: [W/"9f1be5e69062532601176acaaa81e8db"] | 192 | ETag: [W/"88bda25f452d0221c0a5cf9ba90fd81a"] |
193 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
175 | Transfer-Encoding: [chunked] | 194 | Transfer-Encoding: [chunked] |
176 | Vary: ['Accept-Encoding, Origin'] | 195 | Vary: ['Accept-Encoding, Origin'] |
177 | X-Content-Type-Options: [nosniff] | 196 | X-Content-Type-Options: [nosniff] |
197 | X-Download-Options: [noopen] | ||
178 | X-Frame-Options: [SAMEORIGIN] | 198 | X-Frame-Options: [SAMEORIGIN] |
179 | X-Request-Id: [d1348013-9f40-490a-bf57-b47811b9a5b5] | 199 | X-Permitted-Cross-Domain-Policies: [none] |
180 | X-Runtime: ['0.031188'] | 200 | X-Request-Id: [2eb0df1b-4ae3-4456-92c5-ec1b77c72b7f] |
201 | X-Runtime: ['0.062035'] | ||
181 | X-XSS-Protection: [1; mode=block] | 202 | X-XSS-Protection: [1; mode=block] |
182 | content-length: ['2'] | 203 | content-length: ['2'] |
183 | status: {code: 200, message: OK} | 204 | status: {code: 200, message: OK} |