diff options
author | Lorenz Diener <[email protected]> | 2019-06-22 23:16:47 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-06-22 23:16:47 +0200 |
commit | 225c8ca76a8fc6eb2a87a8156b7ce808d3b06507 (patch) | |
tree | 58a331db57609ca038d9428f27b064a4c1b32854 /tests/cassettes/test_report.yaml | |
parent | f920f8b58429b5d7dea43442765df824ac04bf91 (diff) | |
download | mastodon.py-225c8ca76a8fc6eb2a87a8156b7ce808d3b06507.tar.gz |
Fresh batch of test runs
Diffstat (limited to 'tests/cassettes/test_report.yaml')
-rw-r--r-- | tests/cassettes/test_report.yaml | 47 |
1 files changed, 20 insertions, 27 deletions
diff --git a/tests/cassettes/test_report.yaml b/tests/cassettes/test_report.yaml index c360162..0503da8 100644 --- a/tests/cassettes/test_report.yaml +++ b/tests/cassettes/test_report.yaml | |||
@@ -12,10 +12,8 @@ interactions: | |||
12 | method: POST | 12 | method: POST |
13 | uri: http://localhost:3000/api/v1/statuses | 13 | uri: http://localhost:3000/api/v1/statuses |
14 | response: | 14 | response: |
15 | body: {string: '{"id":"102315367988549632","created_at":"2019-06-22T13:03:37.995Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315367988549632","url":"http://localhost/@mastodonpy_test/102315367988549632","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 15 | body: {string: '{"id":"102317292517307411","created_at":"2019-06-22T21:13:03.972Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317292517307411","url":"http://localhost/@mastodonpy_test/102317292517307411","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
16 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 16 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
17 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
18 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
19 | headers: | 17 | headers: |
20 | Cache-Control: ['no-cache, no-store'] | 18 | Cache-Control: ['no-cache, no-store'] |
21 | Content-Type: [application/json; charset=utf-8] | 19 | Content-Type: [application/json; charset=utf-8] |
@@ -26,10 +24,10 @@ interactions: | |||
26 | X-Download-Options: [noopen] | 24 | X-Download-Options: [noopen] |
27 | X-Frame-Options: [SAMEORIGIN] | 25 | X-Frame-Options: [SAMEORIGIN] |
28 | X-Permitted-Cross-Domain-Policies: [none] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
29 | X-Request-Id: [1eb65c2e-58f3-4cc6-8ae5-fc0e2398a4f0] | 27 | X-Request-Id: [b8f41f0d-8426-4ee2-a086-771c2fd52d45] |
30 | X-Runtime: ['0.140193'] | 28 | X-Runtime: ['0.135332'] |
31 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
32 | content-length: ['1597'] | 30 | content-length: ['1236'] |
33 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
34 | - request: | 32 | - request: |
35 | body: null | 33 | body: null |
@@ -42,10 +40,7 @@ interactions: | |||
42 | method: GET | 40 | method: GET |
43 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 41 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
44 | response: | 42 | response: |
45 | body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 43 | body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} |
46 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
47 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I | ||
48 | walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'} | ||
49 | headers: | 44 | headers: |
50 | Cache-Control: ['no-cache, no-store'] | 45 | Cache-Control: ['no-cache, no-store'] |
51 | Content-Type: [application/json; charset=utf-8] | 46 | Content-Type: [application/json; charset=utf-8] |
@@ -56,13 +51,13 @@ interactions: | |||
56 | X-Download-Options: [noopen] | 51 | X-Download-Options: [noopen] |
57 | X-Frame-Options: [SAMEORIGIN] | 52 | X-Frame-Options: [SAMEORIGIN] |
58 | X-Permitted-Cross-Domain-Policies: [none] | 53 | X-Permitted-Cross-Domain-Policies: [none] |
59 | X-Request-Id: [f9fcd645-4998-41e3-a33a-6226a651ae14] | 54 | X-Request-Id: [bd9f301f-22d0-4938-920e-16ddb92de66c] |
60 | X-Runtime: ['0.073167'] | 55 | X-Runtime: ['0.063519'] |
61 | X-XSS-Protection: [1; mode=block] | 56 | X-XSS-Protection: [1; mode=block] |
62 | content-length: ['1134'] | 57 | content-length: ['654'] |
63 | status: {code: 200, message: OK} | 58 | status: {code: 200, message: OK} |
64 | - request: | 59 | - request: |
65 | body: comment=makes+the+bad+post&account_id=1234567890123456&status_ids%5B%5D=102315367988549632 | 60 | body: comment=makes+the+bad+post&account_id=1234567890123456&status_ids%5B%5D=102317292517307411 |
66 | headers: | 61 | headers: |
67 | Accept: ['*/*'] | 62 | Accept: ['*/*'] |
68 | Accept-Encoding: ['gzip, deflate'] | 63 | Accept-Encoding: ['gzip, deflate'] |
@@ -74,7 +69,7 @@ interactions: | |||
74 | method: POST | 69 | method: POST |
75 | uri: http://localhost:3000/api/v1/reports/ | 70 | uri: http://localhost:3000/api/v1/reports/ |
76 | response: | 71 | response: |
77 | body: {string: '{"id":"1","action_taken":false}'} | 72 | body: {string: '{"id":"19","action_taken":false}'} |
78 | headers: | 73 | headers: |
79 | Cache-Control: ['no-cache, no-store'] | 74 | Cache-Control: ['no-cache, no-store'] |
80 | Content-Type: [application/json; charset=utf-8] | 75 | Content-Type: [application/json; charset=utf-8] |
@@ -85,10 +80,10 @@ interactions: | |||
85 | X-Download-Options: [noopen] | 80 | X-Download-Options: [noopen] |
86 | X-Frame-Options: [SAMEORIGIN] | 81 | X-Frame-Options: [SAMEORIGIN] |
87 | X-Permitted-Cross-Domain-Policies: [none] | 82 | X-Permitted-Cross-Domain-Policies: [none] |
88 | X-Request-Id: [8582245c-8bf2-453c-ae3d-3b19d004980f] | 83 | X-Request-Id: [ea3201d0-465c-4e8e-b42c-97aea8ecf49b] |
89 | X-Runtime: ['0.086724'] | 84 | X-Runtime: ['0.034703'] |
90 | X-XSS-Protection: [1; mode=block] | 85 | X-XSS-Protection: [1; mode=block] |
91 | content-length: ['31'] | 86 | content-length: ['32'] |
92 | status: {code: 200, message: OK} | 87 | status: {code: 200, message: OK} |
93 | - request: | 88 | - request: |
94 | body: null | 89 | body: null |
@@ -100,12 +95,10 @@ interactions: | |||
100 | Content-Length: ['0'] | 95 | Content-Length: ['0'] |
101 | User-Agent: [python-requests/2.18.4] | 96 | User-Agent: [python-requests/2.18.4] |
102 | method: DELETE | 97 | method: DELETE |
103 | uri: http://localhost:3000/api/v1/statuses/102315367988549632 | 98 | uri: http://localhost:3000/api/v1/statuses/102317292517307411 |
104 | response: | 99 | response: |
105 | body: {string: '{"id":"102315367988549632","created_at":"2019-06-22T13:03:37.995Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315367988549632","url":"http://localhost/@mastodonpy_test/102315367988549632","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py | 100 | body: {string: '{"id":"102317292517307411","created_at":"2019-06-22T21:13:03.972Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317292517307411","url":"http://localhost/@mastodonpy_test/102317292517307411","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py |
106 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 101 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
107 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI | ||
108 | walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
109 | headers: | 102 | headers: |
110 | Cache-Control: ['no-cache, no-store'] | 103 | Cache-Control: ['no-cache, no-store'] |
111 | Content-Type: [application/json; charset=utf-8] | 104 | Content-Type: [application/json; charset=utf-8] |
@@ -116,9 +109,9 @@ interactions: | |||
116 | X-Download-Options: [noopen] | 109 | X-Download-Options: [noopen] |
117 | X-Frame-Options: [SAMEORIGIN] | 110 | X-Frame-Options: [SAMEORIGIN] |
118 | X-Permitted-Cross-Domain-Policies: [none] | 111 | X-Permitted-Cross-Domain-Policies: [none] |
119 | X-Request-Id: [852aa280-95fc-4656-a2d5-078ae7835e84] | 112 | X-Request-Id: [0d9cc6df-f192-4a9c-8288-c343ee3e380a] |
120 | X-Runtime: ['0.166886'] | 113 | X-Runtime: ['0.077020'] |
121 | X-XSS-Protection: [1; mode=block] | 114 | X-XSS-Protection: [1; mode=block] |
122 | content-length: ['1567'] | 115 | content-length: ['1206'] |
123 | status: {code: 200, message: OK} | 116 | status: {code: 200, message: OK} |
124 | version: 1 | 117 | version: 1 |