aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_reply.yaml')
-rw-r--r--tests/cassettes/test_status_reply.yaml54
1 files changed, 27 insertions, 27 deletions
diff --git a/tests/cassettes/test_status_reply.yaml b/tests/cassettes/test_status_reply.yaml
index d934dc5..90a47e0 100644
--- a/tests/cassettes/test_status_reply.yaml
+++ b/tests/cassettes/test_status_reply.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":"102951424990808897","created_at":"2019-10-12T21:01:17.623Z","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/102951424990808897","url":"http://localhost/@mastodonpy_test/102951424990808897","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":"103704150971895875","created_at":"2020-02-22T19:29:24.598Z","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/103704150971895875","url":"http://localhost/@mastodonpy_test/103704150971895875","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":3,"last_status_at":"2019-10-12T21:01:17.636Z","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":3,"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: [d3922ff4-905c-46fe-becc-8ce987df9a81] 27 X-Request-Id: [f9eddcaa-ebc3-4d61-839b-4a768c108740]
28 X-Runtime: ['0.136372'] 28 X-Runtime: ['0.227323']
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":"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":31,"last_status_at":"2019-10-12T21:01:13.837Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} 43 body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","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,"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: [b2f14632-e7f4-4d45-a473-aaa92c613f9c] 54 X-Request-Id: [6d50efaf-8723-4bf8-af96-ed6d5362f00f]
55 X-Runtime: ['0.051172'] 55 X-Runtime: ['0.060163']
56 X-XSS-Protection: [1; mode=block] 56 X-XSS-Protection: [1; mode=block]
57 content-length: ['680'] 57 content-length: ['699']
58 status: {code: 200, message: OK} 58 status: {code: 200, message: OK}
59- request: 59- request:
60 body: spoiler_text=&visibility=public&in_reply_to_id=102951424990808897&status=%40mastodonpy_test+same%21 60 body: spoiler_text=&visibility=public&in_reply_to_id=103704150971895875&status=%40mastodonpy_test+same%21
61 headers: 61 headers:
62 Accept: ['*/*'] 62 Accept: ['*/*']
63 Accept-Encoding: ['gzip, deflate'] 63 Accept-Encoding: ['gzip, deflate']
@@ -69,11 +69,11 @@ interactions:
69 method: POST 69 method: POST
70 uri: http://localhost:3000/api/v1/statuses 70 uri: http://localhost:3000/api/v1/statuses
71 response: 71 response:
72 body: {string: '{"id":"102951425004505729","created_at":"2019-10-12T21:01:17.839Z","in_reply_to_id":"102951424990808897","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102951425004505729","url":"http://localhost/@admin/102951425004505729","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":"103704150993533200","created_at":"2020-02-22T19:29:24.936Z","in_reply_to_id":"103704150971895875","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704150993533200","url":"http://localhost/@admin/103704150993533200","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003cspan
73 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
74 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
75 same!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test 75 same!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
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":32,"last_status_at":"2019-10-12T21:01:17.856Z","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,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","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,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
77 headers: 77 headers:
78 Cache-Control: ['no-cache, no-store'] 78 Cache-Control: ['no-cache, no-store']
79 Content-Type: [application/json; charset=utf-8] 79 Content-Type: [application/json; charset=utf-8]
@@ -84,10 +84,10 @@ interactions:
84 X-Download-Options: [noopen] 84 X-Download-Options: [noopen]
85 X-Frame-Options: [SAMEORIGIN] 85 X-Frame-Options: [SAMEORIGIN]
86 X-Permitted-Cross-Domain-Policies: [none] 86 X-Permitted-Cross-Domain-Policies: [none]
87 X-Request-Id: [c29d28ed-f459-4120-9d44-7ebf022b4177] 87 X-Request-Id: [64eebad6-4e18-47b1-8e57-784c69165fb0]
88 X-Runtime: ['0.225278'] 88 X-Runtime: ['0.271935']
89 X-XSS-Protection: [1; mode=block] 89 X-XSS-Protection: [1; mode=block]
90 content-length: ['1561'] 90 content-length: ['1599']
91 status: {code: 200, message: OK} 91 status: {code: 200, message: OK}
92- request: 92- request:
93 body: null 93 body: null
@@ -99,10 +99,10 @@ interactions:
99 Content-Length: ['0'] 99 Content-Length: ['0']
100 User-Agent: [python-requests/2.18.4] 100 User-Agent: [python-requests/2.18.4]
101 method: DELETE 101 method: DELETE
102 uri: http://localhost:3000/api/v1/statuses/102951425004505729 102 uri: http://localhost:3000/api/v1/statuses/103704150993533200
103 response: 103 response:
104 body: {string: '{"id":"102951425004505729","created_at":"2019-10-12T21:01:17.839Z","in_reply_to_id":"102951424990808897","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102951425004505729","url":"http://localhost/@admin/102951425004505729","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"@mastodonpy_test 104 body: {string: '{"id":"103704150993533200","created_at":"2020-02-22T19:29:24.936Z","in_reply_to_id":"103704150971895875","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704150993533200","url":"http://localhost/@admin/103704150993533200","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"@mastodonpy_test
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":32,"last_status_at":"2019-10-12T21:01:17.856Z","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,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","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,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
106 headers: 106 headers:
107 Cache-Control: ['no-cache, no-store'] 107 Cache-Control: ['no-cache, no-store']
108 Content-Type: [application/json; charset=utf-8] 108 Content-Type: [application/json; charset=utf-8]
@@ -113,10 +113,10 @@ interactions:
113 X-Download-Options: [noopen] 113 X-Download-Options: [noopen]
114 X-Frame-Options: [SAMEORIGIN] 114 X-Frame-Options: [SAMEORIGIN]
115 X-Permitted-Cross-Domain-Policies: [none] 115 X-Permitted-Cross-Domain-Policies: [none]
116 X-Request-Id: [66768996-612d-41ea-8691-1821fe2938ae] 116 X-Request-Id: [8b9d0ef7-2959-4b09-bbd5-dc788528ccf7]
117 X-Runtime: ['0.153070'] 117 X-Runtime: ['0.171871']
118 X-XSS-Protection: [1; mode=block] 118 X-XSS-Protection: [1; mode=block]
119 content-length: ['1354'] 119 content-length: ['1392']
120 status: {code: 200, message: OK} 120 status: {code: 200, message: OK}
121- request: 121- request:
122 body: null 122 body: null
@@ -128,10 +128,10 @@ interactions:
128 Content-Length: ['0'] 128 Content-Length: ['0']
129 User-Agent: [python-requests/2.18.4] 129 User-Agent: [python-requests/2.18.4]
130 method: DELETE 130 method: DELETE
131 uri: http://localhost:3000/api/v1/statuses/102951424990808897 131 uri: http://localhost:3000/api/v1/statuses/103704150971895875
132 response: 132 response:
133 body: {string: '{"id":"102951424990808897","created_at":"2019-10-12T21:01:17.623Z","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/102951424990808897","url":"http://localhost/@mastodonpy_test/102951424990808897","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":"103704150971895875","created_at":"2020-02-22T19:29:24.598Z","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/103704150971895875","url":"http://localhost/@mastodonpy_test/103704150971895875","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
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":3,"last_status_at":"2019-10-12T21:01:17.636Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 134 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":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
135 headers: 135 headers:
136 Cache-Control: ['no-cache, no-store'] 136 Cache-Control: ['no-cache, no-store']
137 Content-Type: [application/json; charset=utf-8] 137 Content-Type: [application/json; charset=utf-8]
@@ -142,9 +142,9 @@ interactions:
142 X-Download-Options: [noopen] 142 X-Download-Options: [noopen]
143 X-Frame-Options: [SAMEORIGIN] 143 X-Frame-Options: [SAMEORIGIN]
144 X-Permitted-Cross-Domain-Policies: [none] 144 X-Permitted-Cross-Domain-Policies: [none]
145 X-Request-Id: [a7a7d31d-8939-4909-b701-fdfbd913ef40] 145 X-Request-Id: [20587906-5e61-440e-846d-1e09eccfddfd]
146 X-Runtime: ['0.125810'] 146 X-Runtime: ['0.173275']
147 X-XSS-Protection: [1; mode=block] 147 X-XSS-Protection: [1; mode=block]
148 content-length: ['1250'] 148 content-length: ['1290']
149 status: {code: 200, message: OK} 149 status: {code: 200, message: OK}
150version: 1 150version: 1
Powered by cgit v1.2.3 (git 2.41.0)