aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
committerLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
commit225c8ca76a8fc6eb2a87a8156b7ce808d3b06507 (patch)
tree58a331db57609ca038d9428f27b064a4c1b32854 /tests/cassettes/test_status_reply.yaml
parentf920f8b58429b5d7dea43442765df824ac04bf91 (diff)
downloadmastodon.py-225c8ca76a8fc6eb2a87a8156b7ce808d3b06507.tar.gz
Fresh batch of test runs
Diffstat (limited to 'tests/cassettes/test_status_reply.yaml')
-rw-r--r--tests/cassettes/test_status_reply.yaml58
1 files changed, 27 insertions, 31 deletions
diff --git a/tests/cassettes/test_status_reply.yaml b/tests/cassettes/test_status_reply.yaml
index 6a19179..83e5204 100644
--- a/tests/cassettes/test_status_reply.yaml
+++ b/tests/cassettes/test_status_reply.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":"102315368082869206","created_at":"2019-06-22T13:03:39.439Z","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/102315368082869206","url":"http://localhost/@mastodonpy_test/102315368082869206","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":"102317292583368525","created_at":"2019-06-22T21:13:04.989Z","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/102317292583368525","url":"http://localhost/@mastodonpy_test/102317292583368525","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: [266c3499-7668-4c84-a800-69e3f545abfb] 27 X-Request-Id: [f39a6da2-bc56-469d-b6fd-1a0d81fe8f62]
30 X-Runtime: ['0.204094'] 28 X-Runtime: ['0.186361']
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,7 +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":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":[]}'} 43 body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":17,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'}
46 headers: 44 headers:
47 Cache-Control: ['no-cache, no-store'] 45 Cache-Control: ['no-cache, no-store']
48 Content-Type: [application/json; charset=utf-8] 46 Content-Type: [application/json; charset=utf-8]
@@ -53,13 +51,13 @@ interactions:
53 X-Download-Options: [noopen] 51 X-Download-Options: [noopen]
54 X-Frame-Options: [SAMEORIGIN] 52 X-Frame-Options: [SAMEORIGIN]
55 X-Permitted-Cross-Domain-Policies: [none] 53 X-Permitted-Cross-Domain-Policies: [none]
56 X-Request-Id: [df88a595-49ac-40c6-ad21-af29ef898a3c] 54 X-Request-Id: [93070f2d-b64c-4084-bf26-33c0b89adea4]
57 X-Runtime: ['0.050308'] 55 X-Runtime: ['0.050758']
58 X-XSS-Protection: [1; mode=block] 56 X-XSS-Protection: [1; mode=block]
59 content-length: ['609'] 57 content-length: ['610']
60 status: {code: 200, message: OK} 58 status: {code: 200, message: OK}
61- request: 59- request:
62 body: spoiler_text=&visibility=public&in_reply_to_id=102315368082869206&status=%40mastodonpy_test+same%21 60 body: spoiler_text=&visibility=public&in_reply_to_id=102317292583368525&status=%40mastodonpy_test+same%21
63 headers: 61 headers:
64 Accept: ['*/*'] 62 Accept: ['*/*']
65 Accept-Encoding: ['gzip, deflate'] 63 Accept-Encoding: ['gzip, deflate']
@@ -71,11 +69,11 @@ interactions:
71 method: POST 69 method: POST
72 uri: http://localhost:3000/api/v1/statuses 70 uri: http://localhost:3000/api/v1/statuses
73 response: 71 response:
74 body: {string: '{"id":"102315368099679936","created_at":"2019-06-22T13:03:39.697Z","in_reply_to_id":"102315368082869206","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315368099679936","url":"http://localhost/@admin/102315368099679936","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan 72 body: {string: '{"id":"102317292598128164","created_at":"2019-06-22T21:13:05.210Z","in_reply_to_id":"102317292583368525","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317292598128164","url":"http://localhost/@admin/102317292598128164","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan
75 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url 73 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url
76 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 74 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
77 same!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test 75 same!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
78 suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} 76 suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":18,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
79 headers: 77 headers:
80 Cache-Control: ['no-cache, no-store'] 78 Cache-Control: ['no-cache, no-store']
81 Content-Type: [application/json; charset=utf-8] 79 Content-Type: [application/json; charset=utf-8]
@@ -86,10 +84,10 @@ interactions:
86 X-Download-Options: [noopen] 84 X-Download-Options: [noopen]
87 X-Frame-Options: [SAMEORIGIN] 85 X-Frame-Options: [SAMEORIGIN]
88 X-Permitted-Cross-Domain-Policies: [none] 86 X-Permitted-Cross-Domain-Policies: [none]
89 X-Request-Id: [f6a5c545-4cc4-4f44-a512-ad7f846fba13] 87 X-Request-Id: [b2d6efda-8df7-4975-bc15-f14898faa0c7]
90 X-Runtime: ['0.294790'] 88 X-Runtime: ['0.136837']
91 X-XSS-Protection: [1; mode=block] 89 X-XSS-Protection: [1; mode=block]
92 content-length: ['1516'] 90 content-length: ['1517']
93 status: {code: 200, message: OK} 91 status: {code: 200, message: OK}
94- request: 92- request:
95 body: null 93 body: null
@@ -101,10 +99,10 @@ interactions:
101 Content-Length: ['0'] 99 Content-Length: ['0']
102 User-Agent: [python-requests/2.18.4] 100 User-Agent: [python-requests/2.18.4]
103 method: DELETE 101 method: DELETE
104 uri: http://localhost:3000/api/v1/statuses/102315368099679936 102 uri: http://localhost:3000/api/v1/statuses/102317292598128164
105 response: 103 response:
106 body: {string: '{"id":"102315368099679936","created_at":"2019-06-22T13:03:39.697Z","in_reply_to_id":"102315368082869206","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315368099679936","url":"http://localhost/@admin/102315368099679936","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"@mastodonpy_test 104 body: {string: '{"id":"102317292598128164","created_at":"2019-06-22T21:13:05.210Z","in_reply_to_id":"102317292583368525","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317292598128164","url":"http://localhost/@admin/102317292598128164","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"@mastodonpy_test
107 same!","reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} 105 same!","reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":18,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
108 headers: 106 headers:
109 Cache-Control: ['no-cache, no-store'] 107 Cache-Control: ['no-cache, no-store']
110 Content-Type: [application/json; charset=utf-8] 108 Content-Type: [application/json; charset=utf-8]
@@ -115,10 +113,10 @@ interactions:
115 X-Download-Options: [noopen] 113 X-Download-Options: [noopen]
116 X-Frame-Options: [SAMEORIGIN] 114 X-Frame-Options: [SAMEORIGIN]
117 X-Permitted-Cross-Domain-Policies: [none] 115 X-Permitted-Cross-Domain-Policies: [none]
118 X-Request-Id: [13f8de28-57f3-46e1-ad93-b97e544baa0a] 116 X-Request-Id: [c3b3b1f5-12f9-427d-836c-ad218153204c]
119 X-Runtime: ['0.203312'] 117 X-Runtime: ['0.169179']
120 X-XSS-Protection: [1; mode=block] 118 X-XSS-Protection: [1; mode=block]
121 content-length: ['1309'] 119 content-length: ['1310']
122 status: {code: 200, message: OK} 120 status: {code: 200, message: OK}
123- request: 121- request:
124 body: null 122 body: null
@@ -130,12 +128,10 @@ interactions:
130 Content-Length: ['0'] 128 Content-Length: ['0']
131 User-Agent: [python-requests/2.18.4] 129 User-Agent: [python-requests/2.18.4]
132 method: DELETE 130 method: DELETE
133 uri: http://localhost:3000/api/v1/statuses/102315368082869206 131 uri: http://localhost:3000/api/v1/statuses/102317292583368525
134 response: 132 response:
135 body: {string: '{"id":"102315368082869206","created_at":"2019-06-22T13:03:39.439Z","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/102315368082869206","url":"http://localhost/@mastodonpy_test/102315368082869206","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 133 body: {string: '{"id":"102317292583368525","created_at":"2019-06-22T21:13:04.989Z","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/102317292583368525","url":"http://localhost/@mastodonpy_test/102317292583368525","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
136 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 134 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}'}
137 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
138 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}'}
139 headers: 135 headers:
140 Cache-Control: ['no-cache, no-store'] 136 Cache-Control: ['no-cache, no-store']
141 Content-Type: [application/json; charset=utf-8] 137 Content-Type: [application/json; charset=utf-8]
@@ -146,9 +142,9 @@ interactions:
146 X-Download-Options: [noopen] 142 X-Download-Options: [noopen]
147 X-Frame-Options: [SAMEORIGIN] 143 X-Frame-Options: [SAMEORIGIN]
148 X-Permitted-Cross-Domain-Policies: [none] 144 X-Permitted-Cross-Domain-Policies: [none]
149 X-Request-Id: [19a74944-a214-449e-9306-aaac33a5b3cf] 145 X-Request-Id: [b25c1260-3d3b-45b3-acf4-f5c22662d15a]
150 X-Runtime: ['0.098138'] 146 X-Runtime: ['0.130721']
151 X-XSS-Protection: [1; mode=block] 147 X-XSS-Protection: [1; mode=block]
152 content-length: ['1567'] 148 content-length: ['1206']
153 status: {code: 200, message: OK} 149 status: {code: 200, message: OK}
154version: 1 150version: 1
Powered by cgit v1.2.3 (git 2.41.0)