aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_filter_update.yaml')
-rw-r--r--tests/cassettes/test_filter_update.yaml37
1 files changed, 17 insertions, 20 deletions
diff --git a/tests/cassettes/test_filter_update.yaml b/tests/cassettes/test_filter_update.yaml
index e2fe4b0..b9538f7 100644
--- a/tests/cassettes/test_filter_update.yaml
+++ b/tests/cassettes/test_filter_update.yaml
@@ -12,11 +12,10 @@ 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":"21","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} 15 body: {string: '{"id":"3","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'}
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/"616b6a636748282f750aca9e2fbcbe21"]
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: [03b6ba4b-c341-457b-a0ef-f8808329489c] 26 X-Request-Id: [bd8dd539-c0a0-4e80-b882-a97b7a4fe8f1]
28 X-Runtime: ['0.020179'] 27 X-Runtime: ['0.034055']
29 X-XSS-Protection: [1; mode=block] 28 X-XSS-Protection: [1; mode=block]
30 content-length: ['113'] 29 content-length: ['112']
31 status: {code: 200, message: OK} 30 status: {code: 200, message: OK}
32- request: 31- request:
33 body: phrase=japanimation 32 body: phrase=japanimation
@@ -40,13 +39,12 @@ interactions:
40 Content-Type: [application/x-www-form-urlencoded] 39 Content-Type: [application/x-www-form-urlencoded]
41 User-Agent: [python-requests/2.18.4] 40 User-Agent: [python-requests/2.18.4]
42 method: PUT 41 method: PUT
43 uri: http://localhost:3000/api/v1/filters/21 42 uri: http://localhost:3000/api/v1/filters/3
44 response: 43 response:
45 body: {string: '{"id":"21","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} 44 body: {string: '{"id":"3","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'}
46 headers: 45 headers:
47 Cache-Control: ['max-age=0, private, must-revalidate'] 46 Cache-Control: ['no-cache, no-store']
48 Content-Type: [application/json; charset=utf-8] 47 Content-Type: [application/json; charset=utf-8]
49 ETag: [W/"3f41998f154881d6411e0b12151f9b0c"]
50 Referrer-Policy: [strict-origin-when-cross-origin] 48 Referrer-Policy: [strict-origin-when-cross-origin]
51 Transfer-Encoding: [chunked] 49 Transfer-Encoding: [chunked]
52 Vary: ['Accept-Encoding, Origin'] 50 Vary: ['Accept-Encoding, Origin']
@@ -54,10 +52,10 @@ interactions:
54 X-Download-Options: [noopen] 52 X-Download-Options: [noopen]
55 X-Frame-Options: [SAMEORIGIN] 53 X-Frame-Options: [SAMEORIGIN]
56 X-Permitted-Cross-Domain-Policies: [none] 54 X-Permitted-Cross-Domain-Policies: [none]
57 X-Request-Id: [9c5d627e-1a5d-40af-989c-6f2b835e1677] 55 X-Request-Id: [8f11357b-3bd5-46e7-8a5b-578299e3d426]
58 X-Runtime: ['0.020742'] 56 X-Runtime: ['0.086907']
59 X-XSS-Protection: [1; mode=block] 57 X-XSS-Protection: [1; mode=block]
60 content-length: ['120'] 58 content-length: ['119']
61 status: {code: 200, message: OK} 59 status: {code: 200, message: OK}
62- request: 60- request:
63 body: null 61 body: null
@@ -68,13 +66,12 @@ interactions:
68 Connection: [keep-alive] 66 Connection: [keep-alive]
69 User-Agent: [python-requests/2.18.4] 67 User-Agent: [python-requests/2.18.4]
70 method: GET 68 method: GET
71 uri: http://localhost:3000/api/v1/filters/21 69 uri: http://localhost:3000/api/v1/filters/3
72 response: 70 response:
73 body: {string: '{"id":"21","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} 71 body: {string: '{"id":"3","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":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/"3f41998f154881d6411e0b12151f9b0c"]
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,9 +79,9 @@ 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: [0ba85b95-9017-4db9-801f-a7eac4a889c9] 82 X-Request-Id: [3758c54b-454e-47a6-be44-ca4b5b6ce94a]
86 X-Runtime: ['0.015210'] 83 X-Runtime: ['0.031811']
87 X-XSS-Protection: [1; mode=block] 84 X-XSS-Protection: [1; mode=block]
88 content-length: ['120'] 85 content-length: ['119']
89 status: {code: 200, message: OK} 86 status: {code: 200, message: OK}
90version: 1 87version: 1
Powered by cgit v1.2.3 (git 2.41.0)