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_verify_version.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_verify_version.yaml')
-rw-r--r-- | tests/cassettes/test_verify_version.yaml | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/tests/cassettes/test_verify_version.yaml b/tests/cassettes/test_verify_version.yaml index 36f935c..7cd183e 100644 --- a/tests/cassettes/test_verify_version.yaml +++ b/tests/cassettes/test_verify_version.yaml | |||
@@ -10,11 +10,12 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/instance/ | 11 | uri: http://localhost:3000/api/v1/instance/ |
12 | response: | 12 | response: |
13 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":173,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} | 13 | body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.8.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":45,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | 15 | Cache-Control: ['max-age=300, public'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
17 | ETag: [W/"ce84d5b9a246cf18a8f733165a0d9ee5"] | 17 | Date: ['Sat, 27 Apr 2019 18:17:53 GMT'] |
18 | ETag: [W/"98508d6117d3c1cc49e05e6813dab7f2"] | ||
18 | Referrer-Policy: [strict-origin-when-cross-origin] | 19 | Referrer-Policy: [strict-origin-when-cross-origin] |
19 | Transfer-Encoding: [chunked] | 20 | Transfer-Encoding: [chunked] |
20 | Vary: ['Accept-Encoding, Origin'] | 21 | Vary: ['Accept-Encoding, Origin'] |
@@ -22,10 +23,10 @@ interactions: | |||
22 | X-Download-Options: [noopen] | 23 | X-Download-Options: [noopen] |
23 | X-Frame-Options: [SAMEORIGIN] | 24 | X-Frame-Options: [SAMEORIGIN] |
24 | X-Permitted-Cross-Domain-Policies: [none] | 25 | X-Permitted-Cross-Domain-Policies: [none] |
25 | X-Request-Id: [d13debd8-f859-4044-ae20-935cafaca822] | 26 | X-Request-Id: [724fc186-da26-4319-b572-6402246bab7e] |
26 | X-Runtime: ['0.041463'] | 27 | X-Runtime: ['0.031647'] |
27 | X-XSS-Protection: [1; mode=block] | 28 | X-XSS-Protection: [1; mode=block] |
28 | content-length: ['293'] | 29 | content-length: ['349'] |
29 | status: {code: 200, message: OK} | 30 | status: {code: 200, message: OK} |
30 | - request: | 31 | - request: |
31 | body: null | 32 | body: null |
@@ -38,11 +39,12 @@ interactions: | |||
38 | method: GET | 39 | method: GET |
39 | uri: http://localhost:3000/api/v1/instance/ | 40 | uri: http://localhost:3000/api/v1/instance/ |
40 | response: | 41 | response: |
41 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":173,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} | 42 | body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.8.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":45,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'} |
42 | headers: | 43 | headers: |
43 | Cache-Control: ['max-age=0, private, must-revalidate'] | 44 | Cache-Control: ['max-age=300, public'] |
44 | Content-Type: [application/json; charset=utf-8] | 45 | Content-Type: [application/json; charset=utf-8] |
45 | ETag: [W/"ce84d5b9a246cf18a8f733165a0d9ee5"] | 46 | Date: ['Sat, 27 Apr 2019 18:17:53 GMT'] |
47 | ETag: [W/"98508d6117d3c1cc49e05e6813dab7f2"] | ||
46 | Referrer-Policy: [strict-origin-when-cross-origin] | 48 | Referrer-Policy: [strict-origin-when-cross-origin] |
47 | Transfer-Encoding: [chunked] | 49 | Transfer-Encoding: [chunked] |
48 | Vary: ['Accept-Encoding, Origin'] | 50 | Vary: ['Accept-Encoding, Origin'] |
@@ -50,10 +52,10 @@ interactions: | |||
50 | X-Download-Options: [noopen] | 52 | X-Download-Options: [noopen] |
51 | X-Frame-Options: [SAMEORIGIN] | 53 | X-Frame-Options: [SAMEORIGIN] |
52 | X-Permitted-Cross-Domain-Policies: [none] | 54 | X-Permitted-Cross-Domain-Policies: [none] |
53 | X-Request-Id: [77d90174-be17-4b91-9e3c-81400772119f] | 55 | X-Request-Id: [f5698cfe-4b19-4736-9365-42041be4f21b] |
54 | X-Runtime: ['0.049465'] | 56 | X-Runtime: ['0.023511'] |
55 | X-XSS-Protection: [1; mode=block] | 57 | X-XSS-Protection: [1; mode=block] |
56 | content-length: ['293'] | 58 | content-length: ['349'] |
57 | status: {code: 200, message: OK} | 59 | status: {code: 200, message: OK} |
58 | - request: | 60 | - request: |
59 | body: null | 61 | body: null |
@@ -66,11 +68,12 @@ interactions: | |||
66 | method: GET | 68 | method: GET |
67 | uri: http://localhost:3000/api/v1/instance/ | 69 | uri: http://localhost:3000/api/v1/instance/ |
68 | response: | 70 | response: |
69 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":173,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} | 71 | body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.8.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":45,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'} |
70 | headers: | 72 | headers: |
71 | Cache-Control: ['max-age=0, private, must-revalidate'] | 73 | Cache-Control: ['max-age=300, public'] |
72 | Content-Type: [application/json; charset=utf-8] | 74 | Content-Type: [application/json; charset=utf-8] |
73 | ETag: [W/"ce84d5b9a246cf18a8f733165a0d9ee5"] | 75 | Date: ['Sat, 27 Apr 2019 18:17:53 GMT'] |
76 | ETag: [W/"98508d6117d3c1cc49e05e6813dab7f2"] | ||
74 | Referrer-Policy: [strict-origin-when-cross-origin] | 77 | Referrer-Policy: [strict-origin-when-cross-origin] |
75 | Transfer-Encoding: [chunked] | 78 | Transfer-Encoding: [chunked] |
76 | Vary: ['Accept-Encoding, Origin'] | 79 | Vary: ['Accept-Encoding, Origin'] |
@@ -78,9 +81,9 @@ interactions: | |||
78 | X-Download-Options: [noopen] | 81 | X-Download-Options: [noopen] |
79 | X-Frame-Options: [SAMEORIGIN] | 82 | X-Frame-Options: [SAMEORIGIN] |
80 | X-Permitted-Cross-Domain-Policies: [none] | 83 | X-Permitted-Cross-Domain-Policies: [none] |
81 | X-Request-Id: [fb815b68-5afb-4f63-be56-b68667acca81] | 84 | X-Request-Id: [aef56f08-95ca-450f-8afe-78a10ef34a94] |
82 | X-Runtime: ['0.036197'] | 85 | X-Runtime: ['0.023583'] |
83 | X-XSS-Protection: [1; mode=block] | 86 | X-XSS-Protection: [1; mode=block] |
84 | content-length: ['293'] | 87 | content-length: ['349'] |
85 | status: {code: 200, message: OK} | 88 | status: {code: 200, message: OK} |
86 | version: 1 | 89 | version: 1 |