diff options
Diffstat (limited to 'tests/cassettes/test_verify_version.yaml')
-rw-r--r-- | tests/cassettes/test_verify_version.yaml | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/tests/cassettes/test_verify_version.yaml b/tests/cassettes/test_verify_version.yaml new file mode 100644 index 0000000..bac2b27 --- /dev/null +++ b/tests/cassettes/test_verify_version.yaml | |||
@@ -0,0 +1,127 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: null | ||
4 | headers: | ||
5 | Accept: ['*/*'] | ||
6 | Accept-Encoding: ['gzip, deflate'] | ||
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
8 | Connection: [keep-alive] | ||
9 | User-Agent: [python-requests/2.9.1] | ||
10 | method: GET | ||
11 | uri: http://localhost:3000/api/v1/instance/ | ||
12 | response: | ||
13 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":174,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} | ||
14 | headers: | ||
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
16 | Content-Type: [application/json; charset=utf-8] | ||
17 | ETag: [W/"d3ecd6246f5803665ab3a595091b0efa"] | ||
18 | Transfer-Encoding: [chunked] | ||
19 | Vary: ['Accept-Encoding, Origin'] | ||
20 | X-Content-Type-Options: [nosniff] | ||
21 | X-Frame-Options: [SAMEORIGIN] | ||
22 | X-Request-Id: [2fdad118-540b-4134-87b2-469687f0f684] | ||
23 | X-Runtime: ['0.037993'] | ||
24 | X-XSS-Protection: [1; mode=block] | ||
25 | content-length: ['293'] | ||
26 | status: {code: 200, message: OK} | ||
27 | - request: | ||
28 | body: null | ||
29 | headers: | ||
30 | Accept: ['*/*'] | ||
31 | Accept-Encoding: ['gzip, deflate'] | ||
32 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
33 | Connection: [keep-alive] | ||
34 | User-Agent: [python-requests/2.9.1] | ||
35 | method: GET | ||
36 | uri: http://localhost:3000/api/v1/instance/ | ||
37 | response: | ||
38 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":174,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} | ||
39 | headers: | ||
40 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
41 | Content-Type: [application/json; charset=utf-8] | ||
42 | ETag: [W/"d3ecd6246f5803665ab3a595091b0efa"] | ||
43 | Transfer-Encoding: [chunked] | ||
44 | Vary: ['Accept-Encoding, Origin'] | ||
45 | X-Content-Type-Options: [nosniff] | ||
46 | X-Frame-Options: [SAMEORIGIN] | ||
47 | X-Request-Id: [5e580352-8638-47b1-a148-7a8af05e937f] | ||
48 | X-Runtime: ['0.027995'] | ||
49 | X-XSS-Protection: [1; mode=block] | ||
50 | content-length: ['293'] | ||
51 | status: {code: 200, message: OK} | ||
52 | - request: | ||
53 | body: null | ||
54 | headers: | ||
55 | Accept: ['*/*'] | ||
56 | Accept-Encoding: ['gzip, deflate'] | ||
57 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
58 | Connection: [keep-alive] | ||
59 | User-Agent: [python-requests/2.9.1] | ||
60 | method: GET | ||
61 | uri: http://localhost:3000/api/v1/instance/ | ||
62 | response: | ||
63 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":174,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} | ||
64 | headers: | ||
65 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
66 | Content-Type: [application/json; charset=utf-8] | ||
67 | ETag: [W/"d3ecd6246f5803665ab3a595091b0efa"] | ||
68 | Transfer-Encoding: [chunked] | ||
69 | Vary: ['Accept-Encoding, Origin'] | ||
70 | X-Content-Type-Options: [nosniff] | ||
71 | X-Frame-Options: [SAMEORIGIN] | ||
72 | X-Request-Id: [79fad401-98a3-4446-a726-f4223f228e7a] | ||
73 | X-Runtime: ['0.029764'] | ||
74 | X-XSS-Protection: [1; mode=block] | ||
75 | content-length: ['293'] | ||
76 | status: {code: 200, message: OK} | ||
77 | - request: | ||
78 | body: null | ||
79 | headers: | ||
80 | Accept: ['*/*'] | ||
81 | Accept-Encoding: ['gzip, deflate'] | ||
82 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
83 | Connection: [keep-alive] | ||
84 | User-Agent: [python-requests/2.9.1] | ||
85 | method: GET | ||
86 | uri: http://localhost:3000/api/v1/instance/ | ||
87 | response: | ||
88 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":174,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} | ||
89 | headers: | ||
90 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
91 | Content-Type: [application/json; charset=utf-8] | ||
92 | ETag: [W/"d3ecd6246f5803665ab3a595091b0efa"] | ||
93 | Transfer-Encoding: [chunked] | ||
94 | Vary: ['Accept-Encoding, Origin'] | ||
95 | X-Content-Type-Options: [nosniff] | ||
96 | X-Frame-Options: [SAMEORIGIN] | ||
97 | X-Request-Id: [f287c0d8-649f-405e-9644-1f836aae13c4] | ||
98 | X-Runtime: ['0.026093'] | ||
99 | X-XSS-Protection: [1; mode=block] | ||
100 | content-length: ['293'] | ||
101 | status: {code: 200, message: OK} | ||
102 | - request: | ||
103 | body: null | ||
104 | headers: | ||
105 | Accept: ['*/*'] | ||
106 | Accept-Encoding: ['gzip, deflate'] | ||
107 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
108 | Connection: [keep-alive] | ||
109 | User-Agent: [python-requests/2.9.1] | ||
110 | method: GET | ||
111 | uri: http://localhost:3000/api/v1/instance/ | ||
112 | response: | ||
113 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":174,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} | ||
114 | headers: | ||
115 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
116 | Content-Type: [application/json; charset=utf-8] | ||
117 | ETag: [W/"d3ecd6246f5803665ab3a595091b0efa"] | ||
118 | Transfer-Encoding: [chunked] | ||
119 | Vary: ['Accept-Encoding, Origin'] | ||
120 | X-Content-Type-Options: [nosniff] | ||
121 | X-Frame-Options: [SAMEORIGIN] | ||
122 | X-Request-Id: [0a163767-d6a8-4bb1-a5bb-efb34a22fc87] | ||
123 | X-Runtime: ['0.031859'] | ||
124 | X-XSS-Protection: [1; mode=block] | ||
125 | content-length: ['293'] | ||
126 | status: {code: 200, message: OK} | ||
127 | version: 1 | ||