diff options
author | Lorenz Diener <[email protected]> | 2019-10-12 23:03:14 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-10-12 23:03:14 +0200 |
commit | 0b3b2c31a024a335a9e52e93c350f1a214a92219 (patch) | |
tree | cbe224dc43430de144c1be6919f04bb812c458ca /tests/cassettes/test_status_reply.yaml | |
parent | 45908b6f4e9c66fe102b30764e6d153a8d0339a5 (diff) | |
download | mastodon.py-0b3b2c31a024a335a9e52e93c350f1a214a92219.tar.gz |
Pre-release full testsuite updated run
Diffstat (limited to 'tests/cassettes/test_status_reply.yaml')
-rw-r--r-- | tests/cassettes/test_status_reply.yaml | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/tests/cassettes/test_status_reply.yaml b/tests/cassettes/test_status_reply.yaml index 7d983ea..d934dc5 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":"102945951824755713","created_at":"2019-10-11T21:49:23.738Z","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/102945951824755713","url":"http://localhost/@mastodonpy_test/102945951824755713","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":"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 |
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-11T21:49:23.745Z","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":3,"last_status_at":"2019-10-12T21:01:17.636Z","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: [aba11bf1-e907-44a4-9874-9f35f66f3dc8] | 27 | X-Request-Id: [d3922ff4-905c-46fe-becc-8ce987df9a81] |
28 | X-Runtime: ['0.138089'] | 28 | X-Runtime: ['0.136372'] |
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":"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":28,"last_status_at":"2019-10-11T21:49:19.922Z","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,"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":[]}'} |
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: [6292aeb2-8b0f-4d17-9927-a5db1f9c73d1] | 54 | X-Request-Id: [b2f14632-e7f4-4d45-a473-aaa92c613f9c] |
55 | X-Runtime: ['0.062683'] | 55 | X-Runtime: ['0.051172'] |
56 | X-XSS-Protection: [1; mode=block] | 56 | X-XSS-Protection: [1; mode=block] |
57 | content-length: ['680'] | 57 | content-length: ['680'] |
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=102945951824755713&status=%40mastodonpy_test+same%21 | 60 | body: spoiler_text=&visibility=public&in_reply_to_id=102951424990808897&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":"102945951838879780","created_at":"2019-10-11T21:49:23.960Z","in_reply_to_id":"102945951824755713","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102945951838879780","url":"http://localhost/@admin/102945951838879780","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":"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 |
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":29,"last_status_at":"2019-10-11T21:49:23.975Z","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":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}'} |
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,8 +84,8 @@ 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: [873494cb-196b-4235-9cff-e21d6e45cc43] | 87 | X-Request-Id: [c29d28ed-f459-4120-9d44-7ebf022b4177] |
88 | X-Runtime: ['0.204737'] | 88 | X-Runtime: ['0.225278'] |
89 | X-XSS-Protection: [1; mode=block] | 89 | X-XSS-Protection: [1; mode=block] |
90 | content-length: ['1561'] | 90 | content-length: ['1561'] |
91 | status: {code: 200, message: OK} | 91 | status: {code: 200, message: OK} |
@@ -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/102945951838879780 | 102 | uri: http://localhost:3000/api/v1/statuses/102951425004505729 |
103 | response: | 103 | response: |
104 | body: {string: '{"id":"102945951838879780","created_at":"2019-10-11T21:49:23.960Z","in_reply_to_id":"102945951824755713","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102945951838879780","url":"http://localhost/@admin/102945951838879780","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"@mastodonpy_test | 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 |
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":29,"last_status_at":"2019-10-11T21:49:23.975Z","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":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}'} |
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,8 +113,8 @@ 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: [bfb4d90f-2dab-4861-8b32-d8ec90680efb] | 116 | X-Request-Id: [66768996-612d-41ea-8691-1821fe2938ae] |
117 | X-Runtime: ['0.118654'] | 117 | X-Runtime: ['0.153070'] |
118 | X-XSS-Protection: [1; mode=block] | 118 | X-XSS-Protection: [1; mode=block] |
119 | content-length: ['1354'] | 119 | content-length: ['1354'] |
120 | status: {code: 200, message: OK} | 120 | status: {code: 200, message: OK} |
@@ -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/102945951824755713 | 131 | uri: http://localhost:3000/api/v1/statuses/102951424990808897 |
132 | response: | 132 | response: |
133 | body: {string: '{"id":"102945951824755713","created_at":"2019-10-11T21:49:23.738Z","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/102945951824755713","url":"http://localhost/@mastodonpy_test/102945951824755713","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":"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 |
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-11T21:49:23.745Z","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,"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}'} |
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,8 +142,8 @@ 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: [9b92d182-90a8-4e22-9d93-5ec86d7bdca6] | 145 | X-Request-Id: [a7a7d31d-8939-4909-b701-fdfbd913ef40] |
146 | X-Runtime: ['0.115696'] | 146 | X-Runtime: ['0.125810'] |
147 | X-XSS-Protection: [1; mode=block] | 147 | X-XSS-Protection: [1; mode=block] |
148 | content-length: ['1250'] | 148 | content-length: ['1250'] |
149 | status: {code: 200, message: OK} | 149 | status: {code: 200, message: OK} |