diff options
author | Lorenz Diener <[email protected]> | 2019-04-27 21:04:06 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-27 21:04:06 +0200 |
commit | e3936649745a627fa2c31fc7b8602793b7d6027b (patch) | |
tree | c478eb7f45acbfe63faec6151a23658dfc0da3e6 /tests/cassettes/test_filter_update.yaml | |
parent | c1418e9f3f37319d5142e0fa058e2eab434c4e5d (diff) | |
download | mastodon.py-e3936649745a627fa2c31fc7b8602793b7d6027b.tar.gz |
Test fixups and small 2.8 fixes
Pagination backwards is broken presently.
Diffstat (limited to 'tests/cassettes/test_filter_update.yaml')
-rw-r--r-- | tests/cassettes/test_filter_update.yaml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/cassettes/test_filter_update.yaml b/tests/cassettes/test_filter_update.yaml index a36fc11..e2fe4b0 100644 --- a/tests/cassettes/test_filter_update.yaml +++ b/tests/cassettes/test_filter_update.yaml | |||
@@ -12,11 +12,11 @@ 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":39,"phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} | 15 | body: {string: '{"id":"21","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: ['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/"066db6d7e5614877484c462e5fe9dab9"] | 19 | ETag: [W/"616b6a636748282f750aca9e2fbcbe21"] |
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,10 +24,10 @@ 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: [afe42d8c-af56-4a86-9192-3fdf0316ca63] | 27 | X-Request-Id: [03b6ba4b-c341-457b-a0ef-f8808329489c] |
28 | X-Runtime: ['0.033386'] | 28 | X-Runtime: ['0.020179'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['111'] | 30 | content-length: ['113'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
32 | - request: | 32 | - request: |
33 | body: phrase=japanimation | 33 | body: phrase=japanimation |
@@ -40,13 +40,13 @@ interactions: | |||
40 | Content-Type: [application/x-www-form-urlencoded] | 40 | Content-Type: [application/x-www-form-urlencoded] |
41 | User-Agent: [python-requests/2.18.4] | 41 | User-Agent: [python-requests/2.18.4] |
42 | method: PUT | 42 | method: PUT |
43 | uri: http://localhost:3000/api/v1/filters/39 | 43 | uri: http://localhost:3000/api/v1/filters/21 |
44 | response: | 44 | response: |
45 | body: {string: '{"id":39,"phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} | 45 | body: {string: '{"id":"21","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} |
46 | headers: | 46 | headers: |
47 | Cache-Control: ['max-age=0, private, must-revalidate'] | 47 | Cache-Control: ['max-age=0, private, must-revalidate'] |
48 | Content-Type: [application/json; charset=utf-8] | 48 | Content-Type: [application/json; charset=utf-8] |
49 | ETag: [W/"4457ad39bb4928f9baad4ab6d66f016d"] | 49 | ETag: [W/"3f41998f154881d6411e0b12151f9b0c"] |
50 | Referrer-Policy: [strict-origin-when-cross-origin] | 50 | Referrer-Policy: [strict-origin-when-cross-origin] |
51 | Transfer-Encoding: [chunked] | 51 | Transfer-Encoding: [chunked] |
52 | Vary: ['Accept-Encoding, Origin'] | 52 | Vary: ['Accept-Encoding, Origin'] |
@@ -54,10 +54,10 @@ interactions: | |||
54 | X-Download-Options: [noopen] | 54 | X-Download-Options: [noopen] |
55 | X-Frame-Options: [SAMEORIGIN] | 55 | X-Frame-Options: [SAMEORIGIN] |
56 | X-Permitted-Cross-Domain-Policies: [none] | 56 | X-Permitted-Cross-Domain-Policies: [none] |
57 | X-Request-Id: [17c533db-be0e-4b63-967e-db10aa864e1b] | 57 | X-Request-Id: [9c5d627e-1a5d-40af-989c-6f2b835e1677] |
58 | X-Runtime: ['0.033113'] | 58 | X-Runtime: ['0.020742'] |
59 | X-XSS-Protection: [1; mode=block] | 59 | X-XSS-Protection: [1; mode=block] |
60 | content-length: ['118'] | 60 | content-length: ['120'] |
61 | status: {code: 200, message: OK} | 61 | status: {code: 200, message: OK} |
62 | - request: | 62 | - request: |
63 | body: null | 63 | body: null |
@@ -68,13 +68,13 @@ interactions: | |||
68 | Connection: [keep-alive] | 68 | Connection: [keep-alive] |
69 | User-Agent: [python-requests/2.18.4] | 69 | User-Agent: [python-requests/2.18.4] |
70 | method: GET | 70 | method: GET |
71 | uri: http://localhost:3000/api/v1/filters/39 | 71 | uri: http://localhost:3000/api/v1/filters/21 |
72 | response: | 72 | response: |
73 | body: {string: '{"id":39,"phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} | 73 | body: {string: '{"id":"21","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} |
74 | headers: | 74 | headers: |
75 | Cache-Control: ['max-age=0, private, must-revalidate'] | 75 | Cache-Control: ['max-age=0, private, must-revalidate'] |
76 | Content-Type: [application/json; charset=utf-8] | 76 | Content-Type: [application/json; charset=utf-8] |
77 | ETag: [W/"4457ad39bb4928f9baad4ab6d66f016d"] | 77 | ETag: [W/"3f41998f154881d6411e0b12151f9b0c"] |
78 | Referrer-Policy: [strict-origin-when-cross-origin] | 78 | Referrer-Policy: [strict-origin-when-cross-origin] |
79 | Transfer-Encoding: [chunked] | 79 | Transfer-Encoding: [chunked] |
80 | Vary: ['Accept-Encoding, Origin'] | 80 | Vary: ['Accept-Encoding, Origin'] |
@@ -82,9 +82,9 @@ interactions: | |||
82 | X-Download-Options: [noopen] | 82 | X-Download-Options: [noopen] |
83 | X-Frame-Options: [SAMEORIGIN] | 83 | X-Frame-Options: [SAMEORIGIN] |
84 | X-Permitted-Cross-Domain-Policies: [none] | 84 | X-Permitted-Cross-Domain-Policies: [none] |
85 | X-Request-Id: [f3286d0e-d6be-45ac-b159-0158785784e8] | 85 | X-Request-Id: [0ba85b95-9017-4db9-801f-a7eac4a889c9] |
86 | X-Runtime: ['0.020397'] | 86 | X-Runtime: ['0.015210'] |
87 | X-XSS-Protection: [1; mode=block] | 87 | X-XSS-Protection: [1; mode=block] |
88 | content-length: ['118'] | 88 | content-length: ['120'] |
89 | status: {code: 200, message: OK} | 89 | status: {code: 200, message: OK} |
90 | version: 1 | 90 | version: 1 |