aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_report.yaml')
-rw-r--r--tests/cassettes/test_report.yaml50
1 files changed, 25 insertions, 25 deletions
diff --git a/tests/cassettes/test_report.yaml b/tests/cassettes/test_report.yaml
index 014739f..040950f 100644
--- a/tests/cassettes/test_report.yaml
+++ b/tests/cassettes/test_report.yaml
@@ -12,14 +12,14 @@ 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":"100369509306314851","created_at":"2018-07-13T21:26:10.820Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369509306314851","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369509306314851","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"100465731358243271","created_at":"2018-07-30T21:16:42.817Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465731358243271","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465731358243271","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"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":"John
17 Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI 17 Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI
18 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":53,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} 18 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":112,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
19 headers: 19 headers:
20 Cache-Control: ['max-age=0, private, must-revalidate'] 20 Cache-Control: ['max-age=0, private, must-revalidate']
21 Content-Type: [application/json; charset=utf-8] 21 Content-Type: [application/json; charset=utf-8]
22 ETag: [W/"b4e616a63313784279109c1423362352"] 22 ETag: [W/"5c9add4a862ff468a04c10db6cfac728"]
23 Referrer-Policy: [strict-origin-when-cross-origin] 23 Referrer-Policy: [strict-origin-when-cross-origin]
24 Transfer-Encoding: [chunked] 24 Transfer-Encoding: [chunked]
25 Vary: ['Accept-Encoding, Origin'] 25 Vary: ['Accept-Encoding, Origin']
@@ -27,10 +27,10 @@ interactions:
27 X-Download-Options: [noopen] 27 X-Download-Options: [noopen]
28 X-Frame-Options: [SAMEORIGIN] 28 X-Frame-Options: [SAMEORIGIN]
29 X-Permitted-Cross-Domain-Policies: [none] 29 X-Permitted-Cross-Domain-Policies: [none]
30 X-Request-Id: [286ea191-9d93-4316-98b5-8c09f5e08b67] 30 X-Request-Id: [fb31e9db-f68c-4cc2-8389-3e0b5490bc68]
31 X-Runtime: ['0.137278'] 31 X-Runtime: ['0.186804']
32 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
33 content-length: ['1509'] 33 content-length: ['1510']
34 status: {code: 200, message: OK} 34 status: {code: 200, message: OK}
35- request: 35- request:
36 body: null 36 body: null
@@ -45,12 +45,12 @@ interactions:
45 response: 45 response:
46 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 46 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
47 Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI 47 Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI
48 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":53,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I 48 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":112,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I
49 walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'} 49 walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'}
50 headers: 50 headers:
51 Cache-Control: ['max-age=0, private, must-revalidate'] 51 Cache-Control: ['max-age=0, private, must-revalidate']
52 Content-Type: [application/json; charset=utf-8] 52 Content-Type: [application/json; charset=utf-8]
53 ETag: [W/"123018aeae3d7187bf251816436c6fe3"] 53 ETag: [W/"a27b02e96fd5a4c6a1ac5a829d81ef72"]
54 Referrer-Policy: [strict-origin-when-cross-origin] 54 Referrer-Policy: [strict-origin-when-cross-origin]
55 Transfer-Encoding: [chunked] 55 Transfer-Encoding: [chunked]
56 Vary: ['Accept-Encoding, Origin'] 56 Vary: ['Accept-Encoding, Origin']
@@ -58,13 +58,13 @@ interactions:
58 X-Download-Options: [noopen] 58 X-Download-Options: [noopen]
59 X-Frame-Options: [SAMEORIGIN] 59 X-Frame-Options: [SAMEORIGIN]
60 X-Permitted-Cross-Domain-Policies: [none] 60 X-Permitted-Cross-Domain-Policies: [none]
61 X-Request-Id: [1c5e965d-d680-4d45-9e18-f4b6ad04c00b] 61 X-Request-Id: [25426de2-d633-49b1-b54e-5f757a422bb5]
62 X-Runtime: ['0.069239'] 62 X-Runtime: ['0.029904']
63 X-XSS-Protection: [1; mode=block] 63 X-XSS-Protection: [1; mode=block]
64 content-length: ['1040'] 64 content-length: ['1041']
65 status: {code: 200, message: OK} 65 status: {code: 200, message: OK}
66- request: 66- request:
67 body: comment=makes+the+bad+post&account_id=1234567890123456&status_ids%5B%5D=100369509306314851 67 body: comment=makes+the+bad+post&account_id=1234567890123456&status_ids%5B%5D=100465731358243271
68 headers: 68 headers:
69 Accept: ['*/*'] 69 Accept: ['*/*']
70 Accept-Encoding: ['gzip, deflate'] 70 Accept-Encoding: ['gzip, deflate']
@@ -76,11 +76,11 @@ interactions:
76 method: POST 76 method: POST
77 uri: http://localhost:3000/api/v1/reports/ 77 uri: http://localhost:3000/api/v1/reports/
78 response: 78 response:
79 body: {string: '{"id":"2","action_taken":false}'} 79 body: {string: '{"id":"3","action_taken":false}'}
80 headers: 80 headers:
81 Cache-Control: ['max-age=0, private, must-revalidate'] 81 Cache-Control: ['max-age=0, private, must-revalidate']
82 Content-Type: [application/json; charset=utf-8] 82 Content-Type: [application/json; charset=utf-8]
83 ETag: [W/"910d76ad8965d59d2868143eb259f35f"] 83 ETag: [W/"f45c35c0fbdbe750ed4343820a0594bd"]
84 Referrer-Policy: [strict-origin-when-cross-origin] 84 Referrer-Policy: [strict-origin-when-cross-origin]
85 Transfer-Encoding: [chunked] 85 Transfer-Encoding: [chunked]
86 Vary: ['Accept-Encoding, Origin'] 86 Vary: ['Accept-Encoding, Origin']
@@ -88,8 +88,8 @@ interactions:
88 X-Download-Options: [noopen] 88 X-Download-Options: [noopen]
89 X-Frame-Options: [SAMEORIGIN] 89 X-Frame-Options: [SAMEORIGIN]
90 X-Permitted-Cross-Domain-Policies: [none] 90 X-Permitted-Cross-Domain-Policies: [none]
91 X-Request-Id: [de034837-5b67-43cf-be43-562afc7123a5] 91 X-Request-Id: [b3b2756c-3821-4646-8e15-f9ad95844d1f]
92 X-Runtime: ['0.083956'] 92 X-Runtime: ['0.094842']
93 X-XSS-Protection: [1; mode=block] 93 X-XSS-Protection: [1; mode=block]
94 content-length: ['31'] 94 content-length: ['31']
95 status: {code: 200, message: OK} 95 status: {code: 200, message: OK}
@@ -104,11 +104,11 @@ interactions:
104 method: GET 104 method: GET
105 uri: http://localhost:3000/api/v1/reports 105 uri: http://localhost:3000/api/v1/reports
106 response: 106 response:
107 body: {string: '[{"id":"1","action_taken":false},{"id":"2","action_taken":false}]'} 107 body: {string: '[{"id":"1","action_taken":false},{"id":"2","action_taken":false},{"id":"3","action_taken":false}]'}
108 headers: 108 headers:
109 Cache-Control: ['max-age=0, private, must-revalidate'] 109 Cache-Control: ['max-age=0, private, must-revalidate']
110 Content-Type: [application/json; charset=utf-8] 110 Content-Type: [application/json; charset=utf-8]
111 ETag: [W/"707b8c51a971ab4ce9216bd43fb1adc1"] 111 ETag: [W/"23bd5b3a971985d3648c5cca2ad67e25"]
112 Referrer-Policy: [strict-origin-when-cross-origin] 112 Referrer-Policy: [strict-origin-when-cross-origin]
113 Transfer-Encoding: [chunked] 113 Transfer-Encoding: [chunked]
114 Vary: ['Accept-Encoding, Origin'] 114 Vary: ['Accept-Encoding, Origin']
@@ -116,10 +116,10 @@ interactions:
116 X-Download-Options: [noopen] 116 X-Download-Options: [noopen]
117 X-Frame-Options: [SAMEORIGIN] 117 X-Frame-Options: [SAMEORIGIN]
118 X-Permitted-Cross-Domain-Policies: [none] 118 X-Permitted-Cross-Domain-Policies: [none]
119 X-Request-Id: [d69f1c41-62e2-4923-ae53-0a0196c4205d] 119 X-Request-Id: [bba8319a-cf18-4a4d-b36f-f28d1fbb482b]
120 X-Runtime: ['0.066534'] 120 X-Runtime: ['0.064264']
121 X-XSS-Protection: [1; mode=block] 121 X-XSS-Protection: [1; mode=block]
122 content-length: ['65'] 122 content-length: ['97']
123 status: {code: 200, message: OK} 123 status: {code: 200, message: OK}
124- request: 124- request:
125 body: null 125 body: null
@@ -131,13 +131,13 @@ interactions:
131 Content-Length: ['0'] 131 Content-Length: ['0']
132 User-Agent: [python-requests/2.18.4] 132 User-Agent: [python-requests/2.18.4]
133 method: DELETE 133 method: DELETE
134 uri: http://localhost:3000/api/v1/statuses/100369509306314851 134 uri: http://localhost:3000/api/v1/statuses/100465731358243271
135 response: 135 response:
136 body: {string: '{}'} 136 body: {string: '{}'}
137 headers: 137 headers:
138 Cache-Control: ['max-age=0, private, must-revalidate'] 138 Cache-Control: ['max-age=0, private, must-revalidate']
139 Content-Type: [application/json; charset=utf-8] 139 Content-Type: [application/json; charset=utf-8]
140 ETag: [W/"e0b5c01f0eaad3d893c8622d07af57ba"] 140 ETag: [W/"c312fd34f5c9cc8984e35d869b84713f"]
141 Referrer-Policy: [strict-origin-when-cross-origin] 141 Referrer-Policy: [strict-origin-when-cross-origin]
142 Transfer-Encoding: [chunked] 142 Transfer-Encoding: [chunked]
143 Vary: ['Accept-Encoding, Origin'] 143 Vary: ['Accept-Encoding, Origin']
@@ -145,8 +145,8 @@ interactions:
145 X-Download-Options: [noopen] 145 X-Download-Options: [noopen]
146 X-Frame-Options: [SAMEORIGIN] 146 X-Frame-Options: [SAMEORIGIN]
147 X-Permitted-Cross-Domain-Policies: [none] 147 X-Permitted-Cross-Domain-Policies: [none]
148 X-Request-Id: [a9112de9-eed4-43df-b6a0-d73a66fa3616] 148 X-Request-Id: [6bb95a8b-ae15-4edd-997d-614b763e5059]
149 X-Runtime: ['0.061875'] 149 X-Runtime: ['0.087904']
150 X-XSS-Protection: [1; mode=block] 150 X-XSS-Protection: [1; mode=block]
151 content-length: ['2'] 151 content-length: ['2']
152 status: {code: 200, message: OK} 152 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)