aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-13 15:33:10 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-13 15:33:10 +0200
commitb1e1ec7bdc9e84ecd31626f1a4fbf645e84d0bb2 (patch)
tree3ecf530456b311057658b3b2e749ad017074455b /tests/cassettes/test_verify_credentials.yaml
parenta17b20cfa142469019cd5982ba200510afc1f884 (diff)
downloadmastodon.py-b1e1ec7bdc9e84ecd31626f1a4fbf645e84d0bb2.tar.gz
Add support for timed mutes, fix tests to actually pass with new setup
Diffstat (limited to 'tests/cassettes/test_verify_credentials.yaml')
-rw-r--r--tests/cassettes/test_verify_credentials.yaml20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/cassettes/test_verify_credentials.yaml b/tests/cassettes/test_verify_credentials.yaml
index 9f4d7a9..4f15edc 100644
--- a/tests/cassettes/test_verify_credentials.yaml
+++ b/tests/cassettes/test_verify_credentials.yaml
@@ -16,14 +16,14 @@ interactions:
16 uri: http://localhost:3000/api/v1/accounts/verify_credentials 16 uri: http://localhost:3000/api/v1/accounts/verify_credentials
17 response: 17 response:
18 body: 18 body:
19 string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' 19 string: '{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}'
20 headers: 20 headers:
21 Cache-Control: 21 Cache-Control:
22 - no-store 22 - no-store
23 Content-Security-Policy: 23 Content-Security-Policy:
24 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 24 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
25 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 25 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
26 style-src ''self'' http://localhost:3000 ''nonce-w4gNGAOXL1Y+spJmCwpFKA==''; 26 style-src ''self'' http://localhost:3000 ''nonce-Lb9zDFcTL4hIqZU6ESpMNg=='';
27 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 27 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
28 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 28 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
29 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 29 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -33,7 +33,7 @@ interactions:
33 Content-Type: 33 Content-Type:
34 - application/json; charset=utf-8 34 - application/json; charset=utf-8
35 ETag: 35 ETag:
36 - W/"652d7954c24199fc7e1e60a1d201dd1d" 36 - W/"18eda7d2236e4c13844c36377704d960"
37 Referrer-Policy: 37 Referrer-Policy:
38 - strict-origin-when-cross-origin 38 - strict-origin-when-cross-origin
39 Transfer-Encoding: 39 Transfer-Encoding:
@@ -49,9 +49,9 @@ interactions:
49 X-Permitted-Cross-Domain-Policies: 49 X-Permitted-Cross-Domain-Policies:
50 - none 50 - none
51 X-Request-Id: 51 X-Request-Id:
52 - b449163e-3783-4d4a-b15d-2e13762f3a30 52 - ae7a1eac-eb52-42a6-8513-b836ee44ed6e
53 X-Runtime: 53 X-Runtime:
54 - '0.213092' 54 - '0.010966'
55 X-XSS-Protection: 55 X-XSS-Protection:
56 - 1; mode=block 56 - 1; mode=block
57 status: 57 status:
@@ -74,14 +74,14 @@ interactions:
74 uri: http://localhost:3000/api/v1/accounts/verify_credentials 74 uri: http://localhost:3000/api/v1/accounts/verify_credentials
75 response: 75 response:
76 body: 76 body:
77 string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' 77 string: '{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}'
78 headers: 78 headers:
79 Cache-Control: 79 Cache-Control:
80 - no-store 80 - no-store
81 Content-Security-Policy: 81 Content-Security-Policy:
82 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 82 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
83 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 83 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
84 style-src ''self'' http://localhost:3000 ''nonce-hicgGzUz6tYu1h8+Wo4TGg==''; 84 style-src ''self'' http://localhost:3000 ''nonce-J1CpvhIdzQIBmVMFk6LF8g=='';
85 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 85 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
86 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 86 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
87 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 87 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -91,7 +91,7 @@ interactions:
91 Content-Type: 91 Content-Type:
92 - application/json; charset=utf-8 92 - application/json; charset=utf-8
93 ETag: 93 ETag:
94 - W/"652d7954c24199fc7e1e60a1d201dd1d" 94 - W/"18eda7d2236e4c13844c36377704d960"
95 Referrer-Policy: 95 Referrer-Policy:
96 - strict-origin-when-cross-origin 96 - strict-origin-when-cross-origin
97 Transfer-Encoding: 97 Transfer-Encoding:
@@ -107,9 +107,9 @@ interactions:
107 X-Permitted-Cross-Domain-Policies: 107 X-Permitted-Cross-Domain-Policies:
108 - none 108 - none
109 X-Request-Id: 109 X-Request-Id:
110 - ae901092-5d4a-45f5-aa71-e723b0eec82b 110 - bb43a3a6-28cb-4ba5-a3a0-d0bfa1a5ce0e
111 X-Runtime: 111 X-Runtime:
112 - '0.013575' 112 - '0.010135'
113 X-XSS-Protection: 113 X-XSS-Protection:
114 - 1; mode=block 114 - 1; mode=block
115 status: 115 status:
Powered by cgit v1.2.3 (git 2.41.0)