aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_report.yaml')
-rw-r--r--tests/cassettes/test_report.yaml54
1 files changed, 27 insertions, 27 deletions
diff --git a/tests/cassettes/test_report.yaml b/tests/cassettes/test_report.yaml
index 1d479ad..b765ef1 100644
--- a/tests/cassettes/test_report.yaml
+++ b/tests/cassettes/test_report.yaml
@@ -12,22 +12,22 @@ 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":"99979651434402465","created_at":"2018-05-06T01:00:11.798Z","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/99979651434402465","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979651434402465","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"99984773304649269","created_at":"2018-05-06T22:42:45.331Z","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/99984773304649269","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773304649269","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,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI 17 Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","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":129},"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":1,"statuses_count":2},"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/"a333616218c1aa87d78f3ba4be326c38"] 22 ETag: [W/"9ca8c965aa4adfa26e08ee92c9898748"]
23 Transfer-Encoding: [chunked] 23 Transfer-Encoding: [chunked]
24 Vary: ['Accept-Encoding, Origin'] 24 Vary: ['Accept-Encoding, Origin']
25 X-Content-Type-Options: [nosniff] 25 X-Content-Type-Options: [nosniff]
26 X-Frame-Options: [SAMEORIGIN] 26 X-Frame-Options: [SAMEORIGIN]
27 X-Request-Id: [2c2bc656-8659-414a-bbf2-9b7a4de1a2ac] 27 X-Request-Id: [259156dd-522e-4e07-82dc-91c44e973a17]
28 X-Runtime: ['0.232866'] 28 X-Runtime: ['0.319546']
29 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
30 content-length: ['1402'] 30 content-length: ['1400']
31 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
32- request: 32- request:
33 body: null 33 body: null
@@ -41,24 +41,24 @@ interactions:
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":"John 43 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
44 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI 44 Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI
45 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":129,"source":{"privacy":"public","sensitive":false,"note":"I 45 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":1,"statuses_count":2,"source":{"privacy":"public","sensitive":false,"note":"I
46 walk funny"}}'} 46 walk funny"}}'}
47 headers: 47 headers:
48 Cache-Control: ['max-age=0, private, must-revalidate'] 48 Cache-Control: ['max-age=0, private, must-revalidate']
49 Content-Type: [application/json; charset=utf-8] 49 Content-Type: [application/json; charset=utf-8]
50 ETag: [W/"229545a3713c8eba4e2f283dc649830e"] 50 ETag: [W/"3df9a077ea17ad1ee2106f28cf995829"]
51 Transfer-Encoding: [chunked] 51 Transfer-Encoding: [chunked]
52 Vary: ['Accept-Encoding, Origin'] 52 Vary: ['Accept-Encoding, Origin']
53 X-Content-Type-Options: [nosniff] 53 X-Content-Type-Options: [nosniff]
54 X-Frame-Options: [SAMEORIGIN] 54 X-Frame-Options: [SAMEORIGIN]
55 X-Request-Id: [6ff34ed1-22c9-41e9-8fe1-ba6f59ac681f] 55 X-Request-Id: [5a140ae4-180b-4c95-992e-9098521a6aeb]
56 X-Runtime: ['0.063157'] 56 X-Runtime: ['0.229240']
57 X-XSS-Protection: [1; mode=block] 57 X-XSS-Protection: [1; mode=block]
58 content-length: ['839'] 58 content-length: ['837']
59 status: {code: 200, message: OK} 59 status: {code: 200, message: OK}
60- request: 60- request:
61 body: account_id=1234567890123456&comment=makes+the+bad+post&status_ids%5B%5D=99979651434402465 61 body: comment=makes+the+bad+post&account_id=1234567890123456&status_ids%5B%5D=99984773304649269
62 headers: 62 headers:
63 Accept: ['*/*'] 63 Accept: ['*/*']
64 Accept-Encoding: ['gzip, deflate'] 64 Accept-Encoding: ['gzip, deflate']
@@ -70,17 +70,17 @@ interactions:
70 method: POST 70 method: POST
71 uri: http://localhost:3000/api/v1/reports/ 71 uri: http://localhost:3000/api/v1/reports/
72 response: 72 response:
73 body: {string: '{"id":"4","action_taken":false}'} 73 body: {string: '{"id":"2","action_taken":false}'}
74 headers: 74 headers:
75 Cache-Control: ['max-age=0, private, must-revalidate'] 75 Cache-Control: ['max-age=0, private, must-revalidate']
76 Content-Type: [application/json; charset=utf-8] 76 Content-Type: [application/json; charset=utf-8]
77 ETag: [W/"0b4d4cc77c3f0b6f52f7dbd3f095a453"] 77 ETag: [W/"dc6cff294ed2a38b24556ef5c38179ff"]
78 Transfer-Encoding: [chunked] 78 Transfer-Encoding: [chunked]
79 Vary: ['Accept-Encoding, Origin'] 79 Vary: ['Accept-Encoding, Origin']
80 X-Content-Type-Options: [nosniff] 80 X-Content-Type-Options: [nosniff]
81 X-Frame-Options: [SAMEORIGIN] 81 X-Frame-Options: [SAMEORIGIN]
82 X-Request-Id: [cd1bd0e9-3e1e-4069-85c1-e6fb2594a920] 82 X-Request-Id: [46de98f6-9ae2-4872-bc2f-a6dfd5b97d13]
83 X-Runtime: ['0.075600'] 83 X-Runtime: ['0.108569']
84 X-XSS-Protection: [1; mode=block] 84 X-XSS-Protection: [1; mode=block]
85 content-length: ['31'] 85 content-length: ['31']
86 status: {code: 200, message: OK} 86 status: {code: 200, message: OK}
@@ -95,19 +95,19 @@ interactions:
95 method: GET 95 method: GET
96 uri: http://localhost:3000/api/v1/reports 96 uri: http://localhost:3000/api/v1/reports
97 response: 97 response:
98 body: {string: '[{"id":"1","action_taken":false},{"id":"2","action_taken":false},{"id":"3","action_taken":false},{"id":"4","action_taken":false}]'} 98 body: {string: '[{"id":"1","action_taken":false},{"id":"2","action_taken":false}]'}
99 headers: 99 headers:
100 Cache-Control: ['max-age=0, private, must-revalidate'] 100 Cache-Control: ['max-age=0, private, must-revalidate']
101 Content-Type: [application/json; charset=utf-8] 101 Content-Type: [application/json; charset=utf-8]
102 ETag: [W/"da6ce2cf2cdd22d7f9a1c3d3d3805141"] 102 ETag: [W/"75da18070f66e62dc22eeb75707259fd"]
103 Transfer-Encoding: [chunked] 103 Transfer-Encoding: [chunked]
104 Vary: ['Accept-Encoding, Origin'] 104 Vary: ['Accept-Encoding, Origin']
105 X-Content-Type-Options: [nosniff] 105 X-Content-Type-Options: [nosniff]
106 X-Frame-Options: [SAMEORIGIN] 106 X-Frame-Options: [SAMEORIGIN]
107 X-Request-Id: [30e530f5-96b1-4efe-9212-ce2002db0d91] 107 X-Request-Id: [b7a16cdf-acb7-48c4-92e2-22d3c7489b3e]
108 X-Runtime: ['0.057671'] 108 X-Runtime: ['0.089705']
109 X-XSS-Protection: [1; mode=block] 109 X-XSS-Protection: [1; mode=block]
110 content-length: ['129'] 110 content-length: ['65']
111 status: {code: 200, message: OK} 111 status: {code: 200, message: OK}
112- request: 112- request:
113 body: null 113 body: null
@@ -119,19 +119,19 @@ interactions:
119 Content-Length: ['0'] 119 Content-Length: ['0']
120 User-Agent: [python-requests/2.9.1] 120 User-Agent: [python-requests/2.9.1]
121 method: DELETE 121 method: DELETE
122 uri: http://localhost:3000/api/v1/statuses/99979651434402465 122 uri: http://localhost:3000/api/v1/statuses/99984773304649269
123 response: 123 response:
124 body: {string: '{}'} 124 body: {string: '{}'}
125 headers: 125 headers:
126 Cache-Control: ['max-age=0, private, must-revalidate'] 126 Cache-Control: ['max-age=0, private, must-revalidate']
127 Content-Type: [application/json; charset=utf-8] 127 Content-Type: [application/json; charset=utf-8]
128 ETag: [W/"7a878b5976100524af8d59d1beb21fc0"] 128 ETag: [W/"4330459d0c31404d4fd3fe609f7750d1"]
129 Transfer-Encoding: [chunked] 129 Transfer-Encoding: [chunked]
130 Vary: ['Accept-Encoding, Origin'] 130 Vary: ['Accept-Encoding, Origin']
131 X-Content-Type-Options: [nosniff] 131 X-Content-Type-Options: [nosniff]
132 X-Frame-Options: [SAMEORIGIN] 132 X-Frame-Options: [SAMEORIGIN]
133 X-Request-Id: [771d9f48-150c-4a65-84cd-f7f692167cdc] 133 X-Request-Id: [d1fab4a6-75c9-4da7-9739-f5f6f0a43633]
134 X-Runtime: ['0.060494'] 134 X-Runtime: ['0.148746']
135 X-XSS-Protection: [1; mode=block] 135 X-XSS-Protection: [1; mode=block]
136 content-length: ['2'] 136 content-length: ['2']
137 status: {code: 200, message: OK} 137 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)