diff options
Diffstat (limited to 'tests/cassettes/test_list_update.yaml')
-rw-r--r-- | tests/cassettes/test_list_update.yaml | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/tests/cassettes/test_list_update.yaml b/tests/cassettes/test_list_update.yaml new file mode 100644 index 0000000..e2c64d6 --- /dev/null +++ b/tests/cassettes/test_list_update.yaml | |||
@@ -0,0 +1,157 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: title=ham+burglars | ||
4 | headers: | ||
5 | Accept: ['*/*'] | ||
6 | Accept-Encoding: ['gzip, deflate'] | ||
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
8 | Connection: [keep-alive] | ||
9 | Content-Length: ['18'] | ||
10 | Content-Type: [application/x-www-form-urlencoded] | ||
11 | User-Agent: [python-requests/2.9.1] | ||
12 | method: POST | ||
13 | uri: http://localhost:3000/api/v1/lists | ||
14 | response: | ||
15 | body: {string: '{"id":"22","title":"ham burglars"}'} | ||
16 | headers: | ||
17 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
18 | Content-Type: [application/json; charset=utf-8] | ||
19 | ETag: [W/"0c98211766a89984581c09197affd90c"] | ||
20 | Transfer-Encoding: [chunked] | ||
21 | Vary: ['Accept-Encoding, Origin'] | ||
22 | X-Content-Type-Options: [nosniff] | ||
23 | X-Frame-Options: [SAMEORIGIN] | ||
24 | X-Request-Id: [fe851633-a39e-4bbd-8ecd-665d08ad9d69] | ||
25 | X-Runtime: ['0.046417'] | ||
26 | X-XSS-Protection: [1; mode=block] | ||
27 | content-length: ['34'] | ||
28 | status: {code: 200, message: OK} | ||
29 | - request: | ||
30 | body: title=fry+kids | ||
31 | headers: | ||
32 | Accept: ['*/*'] | ||
33 | Accept-Encoding: ['gzip, deflate'] | ||
34 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
35 | Connection: [keep-alive] | ||
36 | Content-Length: ['14'] | ||
37 | Content-Type: [application/x-www-form-urlencoded] | ||
38 | User-Agent: [python-requests/2.9.1] | ||
39 | method: PUT | ||
40 | uri: http://localhost:3000/api/v1/lists/22 | ||
41 | response: | ||
42 | body: {string: '{"id":"22","title":"fry kids"}'} | ||
43 | headers: | ||
44 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
45 | Content-Type: [application/json; charset=utf-8] | ||
46 | ETag: [W/"6dd7ff39115629170e5815c546666ab8"] | ||
47 | Transfer-Encoding: [chunked] | ||
48 | Vary: ['Accept-Encoding, Origin'] | ||
49 | X-Content-Type-Options: [nosniff] | ||
50 | X-Frame-Options: [SAMEORIGIN] | ||
51 | X-Request-Id: [157f5470-3782-40e4-80ac-ea94f8e3f575] | ||
52 | X-Runtime: ['0.051260'] | ||
53 | X-XSS-Protection: [1; mode=block] | ||
54 | content-length: ['30'] | ||
55 | status: {code: 200, message: OK} | ||
56 | - request: | ||
57 | body: null | ||
58 | headers: | ||
59 | Accept: ['*/*'] | ||
60 | Accept-Encoding: ['gzip, deflate'] | ||
61 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
62 | Connection: [keep-alive] | ||
63 | User-Agent: [python-requests/2.9.1] | ||
64 | method: GET | ||
65 | uri: http://localhost:3000/api/v1/lists | ||
66 | response: | ||
67 | body: {string: '[{"id":"1","title":"ham burglars"},{"id":"22","title":"fry kids"}]'} | ||
68 | headers: | ||
69 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
70 | Content-Type: [application/json; charset=utf-8] | ||
71 | ETag: [W/"3a312ac5c7092d9a90693c236852fdc9"] | ||
72 | Transfer-Encoding: [chunked] | ||
73 | Vary: ['Accept-Encoding, Origin'] | ||
74 | X-Content-Type-Options: [nosniff] | ||
75 | X-Frame-Options: [SAMEORIGIN] | ||
76 | X-Request-Id: [22dae45a-b92a-4ff0-b1a0-50ff690f429a] | ||
77 | X-Runtime: ['0.045067'] | ||
78 | X-XSS-Protection: [1; mode=block] | ||
79 | content-length: ['66'] | ||
80 | status: {code: 200, message: OK} | ||
81 | - request: | ||
82 | body: null | ||
83 | headers: | ||
84 | Accept: ['*/*'] | ||
85 | Accept-Encoding: ['gzip, deflate'] | ||
86 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
87 | Connection: [keep-alive] | ||
88 | User-Agent: [python-requests/2.9.1] | ||
89 | method: GET | ||
90 | uri: http://localhost:3000/api/v1/lists | ||
91 | response: | ||
92 | body: {string: '[{"id":"1","title":"ham burglars"},{"id":"22","title":"fry kids"}]'} | ||
93 | headers: | ||
94 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
95 | Content-Type: [application/json; charset=utf-8] | ||
96 | ETag: [W/"3a312ac5c7092d9a90693c236852fdc9"] | ||
97 | Transfer-Encoding: [chunked] | ||
98 | Vary: ['Accept-Encoding, Origin'] | ||
99 | X-Content-Type-Options: [nosniff] | ||
100 | X-Frame-Options: [SAMEORIGIN] | ||
101 | X-Request-Id: [c4381d47-2ef7-40f8-ae75-ce8996886177] | ||
102 | X-Runtime: ['0.036421'] | ||
103 | X-XSS-Protection: [1; mode=block] | ||
104 | content-length: ['66'] | ||
105 | status: {code: 200, message: OK} | ||
106 | - request: | ||
107 | body: null | ||
108 | headers: | ||
109 | Accept: ['*/*'] | ||
110 | Accept-Encoding: ['gzip, deflate'] | ||
111 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
112 | Connection: [keep-alive] | ||
113 | User-Agent: [python-requests/2.9.1] | ||
114 | method: GET | ||
115 | uri: http://localhost:3000/api/v1/lists/22 | ||
116 | response: | ||
117 | body: {string: '{"id":"22","title":"fry kids"}'} | ||
118 | headers: | ||
119 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
120 | Content-Type: [application/json; charset=utf-8] | ||
121 | ETag: [W/"6dd7ff39115629170e5815c546666ab8"] | ||
122 | Transfer-Encoding: [chunked] | ||
123 | Vary: ['Accept-Encoding, Origin'] | ||
124 | X-Content-Type-Options: [nosniff] | ||
125 | X-Frame-Options: [SAMEORIGIN] | ||
126 | X-Request-Id: [3e821cd3-7c44-4e3a-8cdf-9fa498f0bb68] | ||
127 | X-Runtime: ['0.020432'] | ||
128 | X-XSS-Protection: [1; mode=block] | ||
129 | content-length: ['30'] | ||
130 | status: {code: 200, message: OK} | ||
131 | - request: | ||
132 | body: null | ||
133 | headers: | ||
134 | Accept: ['*/*'] | ||
135 | Accept-Encoding: ['gzip, deflate'] | ||
136 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
137 | Connection: [keep-alive] | ||
138 | Content-Length: ['0'] | ||
139 | User-Agent: [python-requests/2.9.1] | ||
140 | method: DELETE | ||
141 | uri: http://localhost:3000/api/v1/lists/22 | ||
142 | response: | ||
143 | body: {string: '{}'} | ||
144 | headers: | ||
145 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
146 | Content-Type: [application/json; charset=utf-8] | ||
147 | ETag: [W/"ee6751ce2dc32e165dd24aca071f6eed"] | ||
148 | Transfer-Encoding: [chunked] | ||
149 | Vary: ['Accept-Encoding, Origin'] | ||
150 | X-Content-Type-Options: [nosniff] | ||
151 | X-Frame-Options: [SAMEORIGIN] | ||
152 | X-Request-Id: [a8576f90-288b-4271-af8a-9bcabf3e2df9] | ||
153 | X-Runtime: ['0.032007'] | ||
154 | X-XSS-Protection: [1; mode=block] | ||
155 | content-length: ['2'] | ||
156 | status: {code: 200, message: OK} | ||
157 | version: 1 | ||