diff options
Diffstat (limited to 'tests/cassettes/test_featured_tags.yaml')
-rw-r--r-- | tests/cassettes/test_featured_tags.yaml | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/tests/cassettes/test_featured_tags.yaml b/tests/cassettes/test_featured_tags.yaml new file mode 100644 index 0000000..8b1aa78 --- /dev/null +++ b/tests/cassettes/test_featured_tags.yaml | |||
@@ -0,0 +1,113 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: name=mastopytesttag | ||
4 | headers: | ||
5 | Accept: ['*/*'] | ||
6 | Accept-Encoding: ['gzip, deflate'] | ||
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
8 | Connection: [keep-alive] | ||
9 | Content-Length: ['19'] | ||
10 | Content-Type: [application/x-www-form-urlencoded] | ||
11 | User-Agent: [python-requests/2.18.4] | ||
12 | method: POST | ||
13 | uri: http://localhost:3000/api/v1/featured_tags | ||
14 | response: | ||
15 | body: {string: '{"id":"1","name":"mastopytesttag","statuses_count":0,"last_status_at":null}'} | ||
16 | headers: | ||
17 | Cache-Control: ['no-cache, no-store'] | ||
18 | Content-Type: [application/json; charset=utf-8] | ||
19 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
20 | Transfer-Encoding: [chunked] | ||
21 | Vary: ['Accept-Encoding, Origin'] | ||
22 | X-Content-Type-Options: [nosniff] | ||
23 | X-Download-Options: [noopen] | ||
24 | X-Frame-Options: [SAMEORIGIN] | ||
25 | X-Permitted-Cross-Domain-Policies: [none] | ||
26 | X-Request-Id: [319b60a5-1408-4515-9b41-91a9eb90b81c] | ||
27 | X-Runtime: ['0.122775'] | ||
28 | X-XSS-Protection: [1; mode=block] | ||
29 | content-length: ['75'] | ||
30 | status: {code: 200, message: OK} | ||
31 | - request: | ||
32 | body: null | ||
33 | headers: | ||
34 | Accept: ['*/*'] | ||
35 | Accept-Encoding: ['gzip, deflate'] | ||
36 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
37 | Connection: [keep-alive] | ||
38 | User-Agent: [python-requests/2.18.4] | ||
39 | method: GET | ||
40 | uri: http://localhost:3000/api/v1/featured_tags | ||
41 | response: | ||
42 | body: {string: '[{"id":"1","name":"mastopytesttag","statuses_count":0,"last_status_at":null}]'} | ||
43 | headers: | ||
44 | Cache-Control: ['no-cache, no-store'] | ||
45 | Content-Type: [application/json; charset=utf-8] | ||
46 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
47 | Transfer-Encoding: [chunked] | ||
48 | Vary: ['Accept-Encoding, Origin'] | ||
49 | X-Content-Type-Options: [nosniff] | ||
50 | X-Download-Options: [noopen] | ||
51 | X-Frame-Options: [SAMEORIGIN] | ||
52 | X-Permitted-Cross-Domain-Policies: [none] | ||
53 | X-Request-Id: [6c35b860-5264-46a1-9219-388f2d65f038] | ||
54 | X-Runtime: ['0.030432'] | ||
55 | X-XSS-Protection: [1; mode=block] | ||
56 | content-length: ['77'] | ||
57 | status: {code: 200, message: OK} | ||
58 | - request: | ||
59 | body: null | ||
60 | headers: | ||
61 | Accept: ['*/*'] | ||
62 | Accept-Encoding: ['gzip, deflate'] | ||
63 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
64 | Connection: [keep-alive] | ||
65 | Content-Length: ['0'] | ||
66 | User-Agent: [python-requests/2.18.4] | ||
67 | method: DELETE | ||
68 | uri: http://localhost:3000/api/v1/featured_tags/1 | ||
69 | response: | ||
70 | body: {string: '{}'} | ||
71 | headers: | ||
72 | Cache-Control: ['no-cache, no-store'] | ||
73 | Content-Type: [application/json; charset=utf-8] | ||
74 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
75 | Transfer-Encoding: [chunked] | ||
76 | Vary: ['Accept-Encoding, Origin'] | ||
77 | X-Content-Type-Options: [nosniff] | ||
78 | X-Download-Options: [noopen] | ||
79 | X-Frame-Options: [SAMEORIGIN] | ||
80 | X-Permitted-Cross-Domain-Policies: [none] | ||
81 | X-Request-Id: [7c062d77-90bd-4400-9476-42495d98d77b] | ||
82 | X-Runtime: ['0.031225'] | ||
83 | X-XSS-Protection: [1; mode=block] | ||
84 | content-length: ['2'] | ||
85 | status: {code: 200, message: OK} | ||
86 | - request: | ||
87 | body: null | ||
88 | headers: | ||
89 | Accept: ['*/*'] | ||
90 | Accept-Encoding: ['gzip, deflate'] | ||
91 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
92 | Connection: [keep-alive] | ||
93 | User-Agent: [python-requests/2.18.4] | ||
94 | method: GET | ||
95 | uri: http://localhost:3000/api/v1/featured_tags | ||
96 | response: | ||
97 | body: {string: '[]'} | ||
98 | headers: | ||
99 | Cache-Control: ['no-cache, no-store'] | ||
100 | Content-Type: [application/json; charset=utf-8] | ||
101 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
102 | Transfer-Encoding: [chunked] | ||
103 | Vary: ['Accept-Encoding, Origin'] | ||
104 | X-Content-Type-Options: [nosniff] | ||
105 | X-Download-Options: [noopen] | ||
106 | X-Frame-Options: [SAMEORIGIN] | ||
107 | X-Permitted-Cross-Domain-Policies: [none] | ||
108 | X-Request-Id: [8e5eaf25-5e6a-4998-bb44-188b123b726c] | ||
109 | X-Runtime: ['0.020343'] | ||
110 | X-XSS-Protection: [1; mode=block] | ||
111 | content-length: ['2'] | ||
112 | status: {code: 200, message: OK} | ||
113 | version: 1 | ||