diff options
author | Lorenz Diener <[email protected]> | 2018-06-05 22:10:31 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-06-05 22:10:31 +0200 |
commit | 18c6b3b90ff8bd607df18af86d092ac1205ffbf7 (patch) | |
tree | 203729696d2639d5bf221168ad6c76a150130ab0 /tests/cassettes/test_list_update.yaml | |
parent | 36194fd60c8e5c6d30134134e32dd24981aee324 (diff) | |
download | mastodon.py-18c6b3b90ff8bd607df18af86d092ac1205ffbf7.tar.gz |
New casettes, small fixes
Diffstat (limited to 'tests/cassettes/test_list_update.yaml')
-rw-r--r-- | tests/cassettes/test_list_update.yaml | 70 |
1 files changed, 44 insertions, 26 deletions
diff --git a/tests/cassettes/test_list_update.yaml b/tests/cassettes/test_list_update.yaml index c88ee17..78f2932 100644 --- a/tests/cassettes/test_list_update.yaml +++ b/tests/cassettes/test_list_update.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":"7","title":"ham burglars"}'} | 15 | body: {string: '{"id":"2","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/"870043ec1a2c20d1ba7c19d5ab384317"] | 19 | ETag: [W/"a343ce83bc8b84abab7154a56f14035b"] |
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: [290ac0a3-c65f-44ed-9f5d-7fd62a015cd2] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
25 | X-Runtime: ['0.069685'] | 27 | X-Request-Id: [d0fc2794-2874-4462-b074-eb27b23359a7] |
28 | X-Runtime: ['0.086417'] | ||
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 | Content-Type: [application/x-www-form-urlencoded] | 40 | Content-Type: [application/x-www-form-urlencoded] |
38 | User-Agent: [python-requests/2.9.1] | 41 | User-Agent: [python-requests/2.9.1] |
39 | method: PUT | 42 | method: PUT |
40 | uri: http://localhost:3000/api/v1/lists/7 | 43 | uri: http://localhost:3000/api/v1/lists/2 |
41 | response: | 44 | response: |
42 | body: {string: '{"id":"7","title":"fry kids"}'} | 45 | body: {string: '{"id":"2","title":"fry kids"}'} |
43 | headers: | 46 | headers: |
44 | Cache-Control: ['max-age=0, private, must-revalidate'] | 47 | Cache-Control: ['max-age=0, private, must-revalidate'] |
45 | Content-Type: [application/json; charset=utf-8] | 48 | Content-Type: [application/json; charset=utf-8] |
46 | ETag: [W/"48f0fc792f3314e044a4865b2d749e7c"] | 49 | ETag: [W/"5f9702eb6e8d3917f3239c3bfe770fe7"] |
50 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
47 | Transfer-Encoding: [chunked] | 51 | Transfer-Encoding: [chunked] |
48 | Vary: ['Accept-Encoding, Origin'] | 52 | Vary: ['Accept-Encoding, Origin'] |
49 | X-Content-Type-Options: [nosniff] | 53 | X-Content-Type-Options: [nosniff] |
54 | X-Download-Options: [noopen] | ||
50 | X-Frame-Options: [SAMEORIGIN] | 55 | X-Frame-Options: [SAMEORIGIN] |
51 | X-Request-Id: [8cb403af-8a2d-46b9-b6d4-69d8b3b58e47] | 56 | X-Permitted-Cross-Domain-Policies: [none] |
52 | X-Runtime: ['0.101008'] | 57 | X-Request-Id: [0c1814d9-2366-479a-a8a1-13e0d851a2a1] |
58 | X-Runtime: ['0.068542'] | ||
53 | X-XSS-Protection: [1; mode=block] | 59 | X-XSS-Protection: [1; mode=block] |
54 | content-length: ['29'] | 60 | content-length: ['29'] |
55 | status: {code: 200, message: OK} | 61 | status: {code: 200, message: OK} |
@@ -64,17 +70,20 @@ interactions: | |||
64 | method: GET | 70 | method: GET |
65 | uri: http://localhost:3000/api/v1/lists | 71 | uri: http://localhost:3000/api/v1/lists |
66 | response: | 72 | response: |
67 | body: {string: '[{"id":"7","title":"fry kids"}]'} | 73 | body: {string: '[{"id":"2","title":"fry kids"}]'} |
68 | headers: | 74 | headers: |
69 | Cache-Control: ['max-age=0, private, must-revalidate'] | 75 | Cache-Control: ['max-age=0, private, must-revalidate'] |
70 | Content-Type: [application/json; charset=utf-8] | 76 | Content-Type: [application/json; charset=utf-8] |
71 | ETag: [W/"4a6d54cb4d48e4f703bc70876a952331"] | 77 | ETag: [W/"926988ef492808df5c81bd5b1f4c1f8a"] |
78 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
72 | Transfer-Encoding: [chunked] | 79 | Transfer-Encoding: [chunked] |
73 | Vary: ['Accept-Encoding, Origin'] | 80 | Vary: ['Accept-Encoding, Origin'] |
74 | X-Content-Type-Options: [nosniff] | 81 | X-Content-Type-Options: [nosniff] |
82 | X-Download-Options: [noopen] | ||
75 | X-Frame-Options: [SAMEORIGIN] | 83 | X-Frame-Options: [SAMEORIGIN] |
76 | X-Request-Id: [7a8af457-f11e-4728-8875-9dff908183c7] | 84 | X-Permitted-Cross-Domain-Policies: [none] |
77 | X-Runtime: ['0.034727'] | 85 | X-Request-Id: [7b524c3a-7e56-4c7d-9cf4-9a101d71c648] |
86 | X-Runtime: ['0.044809'] | ||
78 | X-XSS-Protection: [1; mode=block] | 87 | X-XSS-Protection: [1; mode=block] |
79 | content-length: ['31'] | 88 | content-length: ['31'] |
80 | status: {code: 200, message: OK} | 89 | status: {code: 200, message: OK} |
@@ -89,17 +98,20 @@ interactions: | |||
89 | method: GET | 98 | method: GET |
90 | uri: http://localhost:3000/api/v1/lists | 99 | uri: http://localhost:3000/api/v1/lists |
91 | response: | 100 | response: |
92 | body: {string: '[{"id":"7","title":"fry kids"}]'} | 101 | body: {string: '[{"id":"2","title":"fry kids"}]'} |
93 | headers: | 102 | headers: |
94 | Cache-Control: ['max-age=0, private, must-revalidate'] | 103 | Cache-Control: ['max-age=0, private, must-revalidate'] |
95 | Content-Type: [application/json; charset=utf-8] | 104 | Content-Type: [application/json; charset=utf-8] |
96 | ETag: [W/"4a6d54cb4d48e4f703bc70876a952331"] | 105 | ETag: [W/"926988ef492808df5c81bd5b1f4c1f8a"] |
106 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
97 | Transfer-Encoding: [chunked] | 107 | Transfer-Encoding: [chunked] |
98 | Vary: ['Accept-Encoding, Origin'] | 108 | Vary: ['Accept-Encoding, Origin'] |
99 | X-Content-Type-Options: [nosniff] | 109 | X-Content-Type-Options: [nosniff] |
110 | X-Download-Options: [noopen] | ||
100 | X-Frame-Options: [SAMEORIGIN] | 111 | X-Frame-Options: [SAMEORIGIN] |
101 | X-Request-Id: [beca1ad4-72b5-4915-a4ae-19e8ef10e845] | 112 | X-Permitted-Cross-Domain-Policies: [none] |
102 | X-Runtime: ['0.025595'] | 113 | X-Request-Id: [9516d7b7-9e38-43ae-986c-82adbc09293f] |
114 | X-Runtime: ['0.052375'] | ||
103 | X-XSS-Protection: [1; mode=block] | 115 | X-XSS-Protection: [1; mode=block] |
104 | content-length: ['31'] | 116 | content-length: ['31'] |
105 | status: {code: 200, message: OK} | 117 | status: {code: 200, message: OK} |
@@ -112,19 +124,22 @@ interactions: | |||
112 | Connection: [keep-alive] | 124 | Connection: [keep-alive] |
113 | User-Agent: [python-requests/2.9.1] | 125 | User-Agent: [python-requests/2.9.1] |
114 | method: GET | 126 | method: GET |
115 | uri: http://localhost:3000/api/v1/lists/7 | 127 | uri: http://localhost:3000/api/v1/lists/2 |
116 | response: | 128 | response: |
117 | body: {string: '{"id":"7","title":"fry kids"}'} | 129 | body: {string: '{"id":"2","title":"fry kids"}'} |
118 | headers: | 130 | headers: |
119 | Cache-Control: ['max-age=0, private, must-revalidate'] | 131 | Cache-Control: ['max-age=0, private, must-revalidate'] |
120 | Content-Type: [application/json; charset=utf-8] | 132 | Content-Type: [application/json; charset=utf-8] |
121 | ETag: [W/"48f0fc792f3314e044a4865b2d749e7c"] | 133 | ETag: [W/"33f2691122c3ffa600411f33cf8a4110"] |
134 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
122 | Transfer-Encoding: [chunked] | 135 | Transfer-Encoding: [chunked] |
123 | Vary: ['Accept-Encoding, Origin'] | 136 | Vary: ['Accept-Encoding, Origin'] |
124 | X-Content-Type-Options: [nosniff] | 137 | X-Content-Type-Options: [nosniff] |
138 | X-Download-Options: [noopen] | ||
125 | X-Frame-Options: [SAMEORIGIN] | 139 | X-Frame-Options: [SAMEORIGIN] |
126 | X-Request-Id: [b4219f18-504e-4d22-ba8f-3f50019e3451] | 140 | X-Permitted-Cross-Domain-Policies: [none] |
127 | X-Runtime: ['0.026199'] | 141 | X-Request-Id: [26ccb57d-bd7b-4747-b1e9-fd7c6ac2ff98] |
142 | X-Runtime: ['0.057897'] | ||
128 | X-XSS-Protection: [1; mode=block] | 143 | X-XSS-Protection: [1; mode=block] |
129 | content-length: ['29'] | 144 | content-length: ['29'] |
130 | status: {code: 200, message: OK} | 145 | status: {code: 200, message: OK} |
@@ -138,19 +153,22 @@ interactions: | |||
138 | Content-Length: ['0'] | 153 | Content-Length: ['0'] |
139 | User-Agent: [python-requests/2.9.1] | 154 | User-Agent: [python-requests/2.9.1] |
140 | method: DELETE | 155 | method: DELETE |
141 | uri: http://localhost:3000/api/v1/lists/7 | 156 | uri: http://localhost:3000/api/v1/lists/2 |
142 | response: | 157 | response: |
143 | body: {string: '{}'} | 158 | body: {string: '{}'} |
144 | headers: | 159 | headers: |
145 | Cache-Control: ['max-age=0, private, must-revalidate'] | 160 | Cache-Control: ['max-age=0, private, must-revalidate'] |
146 | Content-Type: [application/json; charset=utf-8] | 161 | Content-Type: [application/json; charset=utf-8] |
147 | ETag: [W/"a77455733b41870263bbeac3de0e0dac"] | 162 | ETag: [W/"1478c124a8edf360aee59b9e6bfe3a4d"] |
163 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
148 | Transfer-Encoding: [chunked] | 164 | Transfer-Encoding: [chunked] |
149 | Vary: ['Accept-Encoding, Origin'] | 165 | Vary: ['Accept-Encoding, Origin'] |
150 | X-Content-Type-Options: [nosniff] | 166 | X-Content-Type-Options: [nosniff] |
167 | X-Download-Options: [noopen] | ||
151 | X-Frame-Options: [SAMEORIGIN] | 168 | X-Frame-Options: [SAMEORIGIN] |
152 | X-Request-Id: [9c1553cd-8748-46a1-aaad-3dc009fb165b] | 169 | X-Permitted-Cross-Domain-Policies: [none] |
153 | X-Runtime: ['0.041789'] | 170 | X-Request-Id: [fc251a74-2c4a-4b0a-9bab-fd68166664cc] |
171 | X-Runtime: ['0.079122'] | ||
154 | X-XSS-Protection: [1; mode=block] | 172 | X-XSS-Protection: [1; mode=block] |
155 | content-length: ['2'] | 173 | content-length: ['2'] |
156 | status: {code: 200, message: OK} | 174 | status: {code: 200, message: OK} |