diff options
Diffstat (limited to 'tests/cassettes/test_report.yaml')
-rw-r--r-- | tests/cassettes/test_report.yaml | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/cassettes/test_report.yaml b/tests/cassettes/test_report.yaml index 2667121..cc3d45f 100644 --- a/tests/cassettes/test_report.yaml +++ b/tests/cassettes/test_report.yaml | |||
@@ -12,8 +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":"102951424932346426","created_at":"2019-10-12T21:01:16.734Z","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/102951424932346426","url":"http://localhost/@mastodonpy_test/102951424932346426","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":"103704150889691442","created_at":"2020-02-22T19:29:23.342Z","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/103704150889691442","url":"http://localhost/@mastodonpy_test/103704150889691442","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":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":"","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":2,"last_status_at":"2019-10-12T21:01:16.743Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 16 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","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":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
17 | headers: | 17 | headers: |
18 | Cache-Control: ['no-cache, no-store'] | 18 | Cache-Control: ['no-cache, no-store'] |
19 | Content-Type: [application/json; charset=utf-8] | 19 | Content-Type: [application/json; charset=utf-8] |
@@ -24,10 +24,10 @@ interactions: | |||
24 | X-Download-Options: [noopen] | 24 | X-Download-Options: [noopen] |
25 | X-Frame-Options: [SAMEORIGIN] | 25 | X-Frame-Options: [SAMEORIGIN] |
26 | X-Permitted-Cross-Domain-Policies: [none] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
27 | X-Request-Id: [1207095b-a9b8-49d0-bfd8-999c37db2809] | 27 | X-Request-Id: [939bc3a5-340d-4092-abbf-9f833f4b8855] |
28 | X-Runtime: ['0.123879'] | 28 | X-Runtime: ['0.172743'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['1280'] | 30 | content-length: ['1320'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
32 | - request: | 32 | - request: |
33 | body: null | 33 | body: null |
@@ -40,7 +40,7 @@ interactions: | |||
40 | method: GET | 40 | method: GET |
41 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 41 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
42 | response: | 42 | response: |
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":2,"last_status_at":"2019-10-12T21:01:16.743Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} | 43 | body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","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":2,"last_status_at":"2020-02-22","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} |
44 | headers: | 44 | headers: |
45 | Cache-Control: ['no-cache, no-store'] | 45 | Cache-Control: ['no-cache, no-store'] |
46 | Content-Type: [application/json; charset=utf-8] | 46 | Content-Type: [application/json; charset=utf-8] |
@@ -51,13 +51,13 @@ interactions: | |||
51 | X-Download-Options: [noopen] | 51 | X-Download-Options: [noopen] |
52 | X-Frame-Options: [SAMEORIGIN] | 52 | X-Frame-Options: [SAMEORIGIN] |
53 | X-Permitted-Cross-Domain-Policies: [none] | 53 | X-Permitted-Cross-Domain-Policies: [none] |
54 | X-Request-Id: [2d22a54b-7637-444d-adfa-133fdd47cf5b] | 54 | X-Request-Id: [5363e5da-cfa2-49aa-bb24-53a4893ff46e] |
55 | X-Runtime: ['0.046933'] | 55 | X-Runtime: ['0.060022'] |
56 | X-XSS-Protection: [1; mode=block] | 56 | X-XSS-Protection: [1; mode=block] |
57 | content-length: ['724'] | 57 | content-length: ['745'] |
58 | status: {code: 200, message: OK} | 58 | status: {code: 200, message: OK} |
59 | - request: | 59 | - request: |
60 | body: comment=makes+the+bad+post&account_id=1234567890123456&status_ids%5B%5D=102951424932346426 | 60 | body: comment=makes+the+bad+post&account_id=1234567890123456&status_ids%5B%5D=103704150889691442 |
61 | headers: | 61 | headers: |
62 | Accept: ['*/*'] | 62 | Accept: ['*/*'] |
63 | Accept-Encoding: ['gzip, deflate'] | 63 | Accept-Encoding: ['gzip, deflate'] |
@@ -69,7 +69,7 @@ interactions: | |||
69 | method: POST | 69 | method: POST |
70 | uri: http://localhost:3000/api/v1/reports/ | 70 | uri: http://localhost:3000/api/v1/reports/ |
71 | response: | 71 | response: |
72 | body: {string: '{"id":"29","action_taken":false}'} | 72 | body: {string: '{"id":"2","action_taken":false}'} |
73 | headers: | 73 | headers: |
74 | Cache-Control: ['no-cache, no-store'] | 74 | Cache-Control: ['no-cache, no-store'] |
75 | Content-Type: [application/json; charset=utf-8] | 75 | Content-Type: [application/json; charset=utf-8] |
@@ -80,10 +80,10 @@ interactions: | |||
80 | X-Download-Options: [noopen] | 80 | X-Download-Options: [noopen] |
81 | X-Frame-Options: [SAMEORIGIN] | 81 | X-Frame-Options: [SAMEORIGIN] |
82 | X-Permitted-Cross-Domain-Policies: [none] | 82 | X-Permitted-Cross-Domain-Policies: [none] |
83 | X-Request-Id: [4275e59a-643c-4413-a07c-15607cbfe77d] | 83 | X-Request-Id: [848e8ac6-25a0-4beb-975b-62687555089d] |
84 | X-Runtime: ['0.044031'] | 84 | X-Runtime: ['0.054388'] |
85 | X-XSS-Protection: [1; mode=block] | 85 | X-XSS-Protection: [1; mode=block] |
86 | content-length: ['32'] | 86 | content-length: ['31'] |
87 | status: {code: 200, message: OK} | 87 | status: {code: 200, message: OK} |
88 | - request: | 88 | - request: |
89 | body: null | 89 | body: null |
@@ -95,10 +95,10 @@ interactions: | |||
95 | Content-Length: ['0'] | 95 | Content-Length: ['0'] |
96 | User-Agent: [python-requests/2.18.4] | 96 | User-Agent: [python-requests/2.18.4] |
97 | method: DELETE | 97 | method: DELETE |
98 | uri: http://localhost:3000/api/v1/statuses/102951424932346426 | 98 | uri: http://localhost:3000/api/v1/statuses/103704150889691442 |
99 | response: | 99 | response: |
100 | body: {string: '{"id":"102951424932346426","created_at":"2019-10-12T21:01:16.734Z","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/102951424932346426","url":"http://localhost/@mastodonpy_test/102951424932346426","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":"103704150889691442","created_at":"2020-02-22T19:29:23.342Z","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/103704150889691442","url":"http://localhost/@mastodonpy_test/103704150889691442","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py |
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":2,"last_status_at":"2019-10-12T21:01:16.743Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 101 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","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":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
102 | headers: | 102 | headers: |
103 | Cache-Control: ['no-cache, no-store'] | 103 | Cache-Control: ['no-cache, no-store'] |
104 | Content-Type: [application/json; charset=utf-8] | 104 | Content-Type: [application/json; charset=utf-8] |
@@ -109,9 +109,9 @@ interactions: | |||
109 | X-Download-Options: [noopen] | 109 | X-Download-Options: [noopen] |
110 | X-Frame-Options: [SAMEORIGIN] | 110 | X-Frame-Options: [SAMEORIGIN] |
111 | X-Permitted-Cross-Domain-Policies: [none] | 111 | X-Permitted-Cross-Domain-Policies: [none] |
112 | X-Request-Id: [d82e1930-c7cb-4b60-99bc-dcf6734c2b77] | 112 | X-Request-Id: [8d1cfc74-b453-4aaf-9486-f34f8d79c46e] |
113 | X-Runtime: ['0.085681'] | 113 | X-Runtime: ['0.113235'] |
114 | X-XSS-Protection: [1; mode=block] | 114 | X-XSS-Protection: [1; mode=block] |
115 | content-length: ['1250'] | 115 | content-length: ['1290'] |
116 | status: {code: 200, message: OK} | 116 | status: {code: 200, message: OK} |
117 | version: 1 | 117 | version: 1 |