diff options
Diffstat (limited to 'tests/cassettes/test_filter_create.yaml')
-rw-r--r-- | tests/cassettes/test_filter_create.yaml | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/tests/cassettes/test_filter_create.yaml b/tests/cassettes/test_filter_create.yaml index bdde7f1..b220c25 100644 --- a/tests/cassettes/test_filter_create.yaml +++ b/tests/cassettes/test_filter_create.yaml | |||
@@ -12,7 +12,7 @@ interactions: | |||
12 | method: POST | 12 | method: POST |
13 | uri: http://localhost:3000/api/v1/filters | 13 | uri: http://localhost:3000/api/v1/filters |
14 | response: | 14 | response: |
15 | body: {string: '{"id":"58","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} | 15 | body: {string: '{"id":"121","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} |
16 | headers: | 16 | headers: |
17 | Cache-Control: ['no-cache, no-store'] | 17 | Cache-Control: ['no-cache, no-store'] |
18 | Content-Type: [application/json; charset=utf-8] | 18 | Content-Type: [application/json; charset=utf-8] |
@@ -23,10 +23,10 @@ interactions: | |||
23 | X-Download-Options: [noopen] | 23 | X-Download-Options: [noopen] |
24 | X-Frame-Options: [SAMEORIGIN] | 24 | X-Frame-Options: [SAMEORIGIN] |
25 | X-Permitted-Cross-Domain-Policies: [none] | 25 | X-Permitted-Cross-Domain-Policies: [none] |
26 | X-Request-Id: [80997ae0-298d-431b-aedc-c939c7f6d5d2] | 26 | X-Request-Id: [d250b22a-0fe0-4c52-9ec4-84fcc8ce8de0] |
27 | X-Runtime: ['0.078721'] | 27 | X-Runtime: ['0.026987'] |
28 | X-XSS-Protection: [1; mode=block] | 28 | X-XSS-Protection: [1; mode=block] |
29 | content-length: ['113'] | 29 | content-length: ['114'] |
30 | status: {code: 200, message: OK} | 30 | status: {code: 200, message: OK} |
31 | - request: | 31 | - request: |
32 | body: null | 32 | body: null |
@@ -39,7 +39,7 @@ interactions: | |||
39 | method: GET | 39 | method: GET |
40 | uri: http://localhost:3000/api/v1/filters | 40 | uri: http://localhost:3000/api/v1/filters |
41 | response: | 41 | response: |
42 | body: {string: '[{"id":"58","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}]'} | 42 | body: {string: '[{"id":"121","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}]'} |
43 | headers: | 43 | headers: |
44 | Cache-Control: ['no-cache, no-store'] | 44 | Cache-Control: ['no-cache, no-store'] |
45 | Content-Type: [application/json; charset=utf-8] | 45 | Content-Type: [application/json; charset=utf-8] |
@@ -50,10 +50,10 @@ interactions: | |||
50 | X-Download-Options: [noopen] | 50 | X-Download-Options: [noopen] |
51 | X-Frame-Options: [SAMEORIGIN] | 51 | X-Frame-Options: [SAMEORIGIN] |
52 | X-Permitted-Cross-Domain-Policies: [none] | 52 | X-Permitted-Cross-Domain-Policies: [none] |
53 | X-Request-Id: [6515b757-9e3a-45c6-aabc-e8ae403ecfd4] | 53 | X-Request-Id: [ed553df1-7eb7-40a2-8ed2-daef875e3a66] |
54 | X-Runtime: ['0.034835'] | 54 | X-Runtime: ['0.016993'] |
55 | X-XSS-Protection: [1; mode=block] | 55 | X-XSS-Protection: [1; mode=block] |
56 | content-length: ['115'] | 56 | content-length: ['116'] |
57 | status: {code: 200, message: OK} | 57 | status: {code: 200, message: OK} |
58 | - request: | 58 | - request: |
59 | body: null | 59 | body: null |
@@ -64,9 +64,9 @@ interactions: | |||
64 | Connection: [keep-alive] | 64 | Connection: [keep-alive] |
65 | User-Agent: [python-requests/2.18.4] | 65 | User-Agent: [python-requests/2.18.4] |
66 | method: GET | 66 | method: GET |
67 | uri: http://localhost:3000/api/v1/filters/58 | 67 | uri: http://localhost:3000/api/v1/filters/121 |
68 | response: | 68 | response: |
69 | body: {string: '{"id":"58","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} | 69 | body: {string: '{"id":"121","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} |
70 | headers: | 70 | headers: |
71 | Cache-Control: ['no-cache, no-store'] | 71 | Cache-Control: ['no-cache, no-store'] |
72 | Content-Type: [application/json; charset=utf-8] | 72 | Content-Type: [application/json; charset=utf-8] |
@@ -77,10 +77,10 @@ interactions: | |||
77 | X-Download-Options: [noopen] | 77 | X-Download-Options: [noopen] |
78 | X-Frame-Options: [SAMEORIGIN] | 78 | X-Frame-Options: [SAMEORIGIN] |
79 | X-Permitted-Cross-Domain-Policies: [none] | 79 | X-Permitted-Cross-Domain-Policies: [none] |
80 | X-Request-Id: [7dd2f4f1-d949-4651-884c-2ae53ec4065f] | 80 | X-Request-Id: [184f601d-7349-4e58-96eb-1677094360a5] |
81 | X-Runtime: ['0.054039'] | 81 | X-Runtime: ['0.016166'] |
82 | X-XSS-Protection: [1; mode=block] | 82 | X-XSS-Protection: [1; mode=block] |
83 | content-length: ['113'] | 83 | content-length: ['114'] |
84 | status: {code: 200, message: OK} | 84 | status: {code: 200, message: OK} |
85 | - request: | 85 | - request: |
86 | body: null | 86 | body: null |
@@ -92,7 +92,7 @@ interactions: | |||
92 | Content-Length: ['0'] | 92 | Content-Length: ['0'] |
93 | User-Agent: [python-requests/2.18.4] | 93 | User-Agent: [python-requests/2.18.4] |
94 | method: DELETE | 94 | method: DELETE |
95 | uri: http://localhost:3000/api/v1/filters/58 | 95 | uri: http://localhost:3000/api/v1/filters/121 |
96 | response: | 96 | response: |
97 | body: {string: '{}'} | 97 | body: {string: '{}'} |
98 | headers: | 98 | headers: |
@@ -105,8 +105,8 @@ interactions: | |||
105 | X-Download-Options: [noopen] | 105 | X-Download-Options: [noopen] |
106 | X-Frame-Options: [SAMEORIGIN] | 106 | X-Frame-Options: [SAMEORIGIN] |
107 | X-Permitted-Cross-Domain-Policies: [none] | 107 | X-Permitted-Cross-Domain-Policies: [none] |
108 | X-Request-Id: [f7b59507-48d8-4b7b-9c28-862fa4fff705] | 108 | X-Request-Id: [e16fc2d9-9b1d-4cbd-883a-ba1df84b6d86] |
109 | X-Runtime: ['0.061299'] | 109 | X-Runtime: ['0.027097'] |
110 | X-XSS-Protection: [1; mode=block] | 110 | X-XSS-Protection: [1; mode=block] |
111 | content-length: ['2'] | 111 | content-length: ['2'] |
112 | status: {code: 200, message: OK} | 112 | status: {code: 200, message: OK} |
@@ -123,7 +123,7 @@ interactions: | |||
123 | method: POST | 123 | method: POST |
124 | uri: http://localhost:3000/api/v1/filters | 124 | uri: http://localhost:3000/api/v1/filters |
125 | response: | 125 | response: |
126 | body: {string: '{"id":"59","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}'} | 126 | body: {string: '{"id":"122","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}'} |
127 | headers: | 127 | headers: |
128 | Cache-Control: ['no-cache, no-store'] | 128 | Cache-Control: ['no-cache, no-store'] |
129 | Content-Type: [application/json; charset=utf-8] | 129 | Content-Type: [application/json; charset=utf-8] |
@@ -134,10 +134,10 @@ interactions: | |||
134 | X-Download-Options: [noopen] | 134 | X-Download-Options: [noopen] |
135 | X-Frame-Options: [SAMEORIGIN] | 135 | X-Frame-Options: [SAMEORIGIN] |
136 | X-Permitted-Cross-Domain-Policies: [none] | 136 | X-Permitted-Cross-Domain-Policies: [none] |
137 | X-Request-Id: [c7018f35-3b29-455e-8e9b-6a90c08283c8] | 137 | X-Request-Id: [d2fe4976-c078-4ca9-a309-95959ae81833] |
138 | X-Runtime: ['0.029221'] | 138 | X-Runtime: ['0.020970'] |
139 | X-XSS-Protection: [1; mode=block] | 139 | X-XSS-Protection: [1; mode=block] |
140 | content-length: ['114'] | 140 | content-length: ['115'] |
141 | status: {code: 200, message: OK} | 141 | status: {code: 200, message: OK} |
142 | - request: | 142 | - request: |
143 | body: null | 143 | body: null |
@@ -150,7 +150,7 @@ interactions: | |||
150 | method: GET | 150 | method: GET |
151 | uri: http://localhost:3000/api/v1/filters | 151 | uri: http://localhost:3000/api/v1/filters |
152 | response: | 152 | response: |
153 | body: {string: '[{"id":"59","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}]'} | 153 | body: {string: '[{"id":"122","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}]'} |
154 | headers: | 154 | headers: |
155 | Cache-Control: ['no-cache, no-store'] | 155 | Cache-Control: ['no-cache, no-store'] |
156 | Content-Type: [application/json; charset=utf-8] | 156 | Content-Type: [application/json; charset=utf-8] |
@@ -161,10 +161,10 @@ interactions: | |||
161 | X-Download-Options: [noopen] | 161 | X-Download-Options: [noopen] |
162 | X-Frame-Options: [SAMEORIGIN] | 162 | X-Frame-Options: [SAMEORIGIN] |
163 | X-Permitted-Cross-Domain-Policies: [none] | 163 | X-Permitted-Cross-Domain-Policies: [none] |
164 | X-Request-Id: [e1c0cbbd-a9b4-4e4b-bfea-3d84f31f1ea0] | 164 | X-Request-Id: [174e4d94-007f-4df4-8872-552c6e5918b4] |
165 | X-Runtime: ['0.086110'] | 165 | X-Runtime: ['0.022525'] |
166 | X-XSS-Protection: [1; mode=block] | 166 | X-XSS-Protection: [1; mode=block] |
167 | content-length: ['116'] | 167 | content-length: ['117'] |
168 | status: {code: 200, message: OK} | 168 | status: {code: 200, message: OK} |
169 | - request: | 169 | - request: |
170 | body: null | 170 | body: null |
@@ -175,9 +175,9 @@ interactions: | |||
175 | Connection: [keep-alive] | 175 | Connection: [keep-alive] |
176 | User-Agent: [python-requests/2.18.4] | 176 | User-Agent: [python-requests/2.18.4] |
177 | method: GET | 177 | method: GET |
178 | uri: http://localhost:3000/api/v1/filters/59 | 178 | uri: http://localhost:3000/api/v1/filters/122 |
179 | response: | 179 | response: |
180 | body: {string: '{"id":"59","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}'} | 180 | body: {string: '{"id":"122","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}'} |
181 | headers: | 181 | headers: |
182 | Cache-Control: ['no-cache, no-store'] | 182 | Cache-Control: ['no-cache, no-store'] |
183 | Content-Type: [application/json; charset=utf-8] | 183 | Content-Type: [application/json; charset=utf-8] |
@@ -188,10 +188,10 @@ interactions: | |||
188 | X-Download-Options: [noopen] | 188 | X-Download-Options: [noopen] |
189 | X-Frame-Options: [SAMEORIGIN] | 189 | X-Frame-Options: [SAMEORIGIN] |
190 | X-Permitted-Cross-Domain-Policies: [none] | 190 | X-Permitted-Cross-Domain-Policies: [none] |
191 | X-Request-Id: [23a1f259-3082-4476-a959-09eddefef97e] | 191 | X-Request-Id: [407f406e-153c-4d4c-9c52-f57caefc582f] |
192 | X-Runtime: ['0.025843'] | 192 | X-Runtime: ['0.017067'] |
193 | X-XSS-Protection: [1; mode=block] | 193 | X-XSS-Protection: [1; mode=block] |
194 | content-length: ['114'] | 194 | content-length: ['115'] |
195 | status: {code: 200, message: OK} | 195 | status: {code: 200, message: OK} |
196 | - request: | 196 | - request: |
197 | body: null | 197 | body: null |
@@ -203,7 +203,7 @@ interactions: | |||
203 | Content-Length: ['0'] | 203 | Content-Length: ['0'] |
204 | User-Agent: [python-requests/2.18.4] | 204 | User-Agent: [python-requests/2.18.4] |
205 | method: DELETE | 205 | method: DELETE |
206 | uri: http://localhost:3000/api/v1/filters/59 | 206 | uri: http://localhost:3000/api/v1/filters/122 |
207 | response: | 207 | response: |
208 | body: {string: '{}'} | 208 | body: {string: '{}'} |
209 | headers: | 209 | headers: |
@@ -216,8 +216,8 @@ interactions: | |||
216 | X-Download-Options: [noopen] | 216 | X-Download-Options: [noopen] |
217 | X-Frame-Options: [SAMEORIGIN] | 217 | X-Frame-Options: [SAMEORIGIN] |
218 | X-Permitted-Cross-Domain-Policies: [none] | 218 | X-Permitted-Cross-Domain-Policies: [none] |
219 | X-Request-Id: [9cd0618d-33da-4adb-b18c-4c22f44fdd78] | 219 | X-Request-Id: [a6f6813d-436f-4965-ad74-8c7a375fbf48] |
220 | X-Runtime: ['0.036155'] | 220 | X-Runtime: ['0.048037'] |
221 | X-XSS-Protection: [1; mode=block] | 221 | X-XSS-Protection: [1; mode=block] |
222 | content-length: ['2'] | 222 | content-length: ['2'] |
223 | status: {code: 200, message: OK} | 223 | status: {code: 200, message: OK} |