aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_report.yaml')
-rw-r--r--tests/cassettes/test_report.yaml32
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/cassettes/test_report.yaml b/tests/cassettes/test_report.yaml
index 5f52468..2667121 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":"102945951763113468","created_at":"2019-10-11T21:49:22.797Z","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/102945951763113468","url":"http://localhost/@mastodonpy_test/102945951763113468","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":"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
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-11T21:49:22.805Z","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,"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}'}
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,8 +24,8 @@ 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: [32970b7d-7a04-489a-83cf-e805149eee86] 27 X-Request-Id: [1207095b-a9b8-49d0-bfd8-999c37db2809]
28 X-Runtime: ['0.131402'] 28 X-Runtime: ['0.123879']
29 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
30 content-length: ['1280'] 30 content-length: ['1280']
31 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
@@ -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-11T21:49:22.805Z","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,"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":[]}'}
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: [0e7f44b2-220b-4f69-bf81-6078db00a3d6] 54 X-Request-Id: [2d22a54b-7637-444d-adfa-133fdd47cf5b]
55 X-Runtime: ['0.067795'] 55 X-Runtime: ['0.046933']
56 X-XSS-Protection: [1; mode=block] 56 X-XSS-Protection: [1; mode=block]
57 content-length: ['724'] 57 content-length: ['724']
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=102945951763113468 60 body: comment=makes+the+bad+post&account_id=1234567890123456&status_ids%5B%5D=102951424932346426
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":"27","action_taken":false}'} 72 body: {string: '{"id":"29","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,8 +80,8 @@ 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: [03bbf827-147b-4ce9-983a-5fbed69c0d9c] 83 X-Request-Id: [4275e59a-643c-4413-a07c-15607cbfe77d]
84 X-Runtime: ['0.036229'] 84 X-Runtime: ['0.044031']
85 X-XSS-Protection: [1; mode=block] 85 X-XSS-Protection: [1; mode=block]
86 content-length: ['32'] 86 content-length: ['32']
87 status: {code: 200, message: OK} 87 status: {code: 200, message: OK}
@@ -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/102945951763113468 98 uri: http://localhost:3000/api/v1/statuses/102951424932346426
99 response: 99 response:
100 body: {string: '{"id":"102945951763113468","created_at":"2019-10-11T21:49:22.797Z","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/102945951763113468","url":"http://localhost/@mastodonpy_test/102945951763113468","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":"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
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-11T21:49:22.805Z","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,"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}'}
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,8 +109,8 @@ 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: [1b787f88-c8fe-41ee-8d78-8398c8ce75fd] 112 X-Request-Id: [d82e1930-c7cb-4b60-99bc-dcf6734c2b77]
113 X-Runtime: ['0.087011'] 113 X-Runtime: ['0.085681']
114 X-XSS-Protection: [1; mode=block] 114 X-XSS-Protection: [1; mode=block]
115 content-length: ['1250'] 115 content-length: ['1250']
116 status: {code: 200, message: OK} 116 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)