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_reblog_unreblog.yaml | |
parent | 45908b6f4e9c66fe102b30764e6d153a8d0339a5 (diff) | |
download | mastodon.py-0b3b2c31a024a335a9e52e93c350f1a214a92219.tar.gz |
Pre-release full testsuite updated run
Diffstat (limited to 'tests/cassettes/test_status_reblog_unreblog.yaml')
-rw-r--r-- | tests/cassettes/test_status_reblog_unreblog.yaml | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/cassettes/test_status_reblog_unreblog.yaml b/tests/cassettes/test_status_reblog_unreblog.yaml index 50c193f..ce604d2 100644 --- a/tests/cassettes/test_status_reblog_unreblog.yaml +++ b/tests/cassettes/test_status_reblog_unreblog.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":"102945952960764447","created_at":"2019-10-11T21:49:41.071Z","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/102945952960764447","url":"http://localhost/@mastodonpy_test/102945952960764447","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":"102951426094514551","created_at":"2019-10-12T21:01:34.467Z","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/102951426094514551","url":"http://localhost/@mastodonpy_test/102951426094514551","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:41.086Z","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:34.485Z","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: [e13a7847-7c8e-4b8d-863a-73f6f7598216] | 27 | X-Request-Id: [3e68e1ef-0e70-478a-9f0f-ce18115bbff0] |
28 | X-Runtime: ['0.127055'] | 28 | X-Runtime: ['0.136229'] |
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} |
@@ -39,13 +39,13 @@ interactions: | |||
39 | Content-Length: ['0'] | 39 | Content-Length: ['0'] |
40 | User-Agent: [python-requests/2.18.4] | 40 | User-Agent: [python-requests/2.18.4] |
41 | method: POST | 41 | method: POST |
42 | uri: http://localhost:3000/api/v1/statuses/102945952960764447/reblog | 42 | uri: http://localhost:3000/api/v1/statuses/102951426094514551/reblog |
43 | response: | 43 | response: |
44 | body: {string: '{"id":"102945952977818765","created_at":"2019-10-11T21:49:41.331Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost/users/mastodonpy_test/statuses/102945952977818765/activity","url":"http://localhost/users/mastodonpy_test/statuses/102945952977818765/activity","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"content":"\u003cp\u003eRT | 44 | body: {string: '{"id":"102951426108733575","created_at":"2019-10-12T21:01:34.682Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost/users/mastodonpy_test/statuses/102951426108733575/activity","url":"http://localhost/users/mastodonpy_test/statuses/102951426108733575/activity","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"content":"\u003cp\u003eRT |
45 | \u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" | 45 | \u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" |
46 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 46 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
47 | Toot!\u003c/p\u003e","reblog":{"id":"102945952960764447","created_at":"2019-10-11T21:49:41.071Z","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/102945952960764447","url":"http://localhost/@mastodonpy_test/102945952960764447","replies_count":0,"reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 47 | Toot!\u003c/p\u003e","reblog":{"id":"102951426094514551","created_at":"2019-10-12T21:01:34.467Z","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/102951426094514551","url":"http://localhost/@mastodonpy_test/102951426094514551","replies_count":0,"reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
48 | 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":4,"last_status_at":"2019-10-11T21:49:41.348Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},"application":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":4,"last_status_at":"2019-10-11T21:49:41.348Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 48 | 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":4,"last_status_at":"2019-10-12T21:01:34.700Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},"application":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":4,"last_status_at":"2019-10-12T21:01:34.700Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
49 | headers: | 49 | headers: |
50 | Cache-Control: ['no-cache, no-store'] | 50 | Cache-Control: ['no-cache, no-store'] |
51 | Content-Type: [application/json; charset=utf-8] | 51 | Content-Type: [application/json; charset=utf-8] |
@@ -56,8 +56,8 @@ interactions: | |||
56 | X-Download-Options: [noopen] | 56 | X-Download-Options: [noopen] |
57 | X-Frame-Options: [SAMEORIGIN] | 57 | X-Frame-Options: [SAMEORIGIN] |
58 | X-Permitted-Cross-Domain-Policies: [none] | 58 | X-Permitted-Cross-Domain-Policies: [none] |
59 | X-Request-Id: [1caf89ac-e6d0-47cd-8348-ba2a7eba99fe] | 59 | X-Request-Id: [8bc0d030-7160-4a61-b47a-36910f5776ad] |
60 | X-Runtime: ['0.306670'] | 60 | X-Runtime: ['0.293426'] |
61 | X-XSS-Protection: [1; mode=block] | 61 | X-XSS-Protection: [1; mode=block] |
62 | content-length: ['2724'] | 62 | content-length: ['2724'] |
63 | status: {code: 200, message: OK} | 63 | status: {code: 200, message: OK} |
@@ -71,10 +71,10 @@ interactions: | |||
71 | Content-Length: ['0'] | 71 | Content-Length: ['0'] |
72 | User-Agent: [python-requests/2.18.4] | 72 | User-Agent: [python-requests/2.18.4] |
73 | method: POST | 73 | method: POST |
74 | uri: http://localhost:3000/api/v1/statuses/102945952960764447/unreblog | 74 | uri: http://localhost:3000/api/v1/statuses/102951426094514551/unreblog |
75 | response: | 75 | response: |
76 | body: {string: '{"id":"102945952960764447","created_at":"2019-10-11T21:49:41.071Z","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/102945952960764447","url":"http://localhost/@mastodonpy_test/102945952960764447","replies_count":0,"reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 76 | body: {string: '{"id":"102951426094514551","created_at":"2019-10-12T21:01:34.467Z","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/102951426094514551","url":"http://localhost/@mastodonpy_test/102951426094514551","replies_count":0,"reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py |
77 | 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":4,"last_status_at":"2019-10-11T21:49:41.348Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 77 | 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":4,"last_status_at":"2019-10-12T21:01:34.700Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
78 | headers: | 78 | headers: |
79 | Cache-Control: ['no-cache, no-store'] | 79 | Cache-Control: ['no-cache, no-store'] |
80 | Content-Type: [application/json; charset=utf-8] | 80 | Content-Type: [application/json; charset=utf-8] |
@@ -85,8 +85,8 @@ interactions: | |||
85 | X-Download-Options: [noopen] | 85 | X-Download-Options: [noopen] |
86 | X-Frame-Options: [SAMEORIGIN] | 86 | X-Frame-Options: [SAMEORIGIN] |
87 | X-Permitted-Cross-Domain-Policies: [none] | 87 | X-Permitted-Cross-Domain-Policies: [none] |
88 | X-Request-Id: [c841bdbe-92bb-4d31-9c92-a8ee5a96b1a1] | 88 | X-Request-Id: [f6a561b3-ee99-40f7-98eb-158831a5f15e] |
89 | X-Runtime: ['0.126382'] | 89 | X-Runtime: ['0.166887'] |
90 | X-XSS-Protection: [1; mode=block] | 90 | X-XSS-Protection: [1; mode=block] |
91 | content-length: ['1280'] | 91 | content-length: ['1280'] |
92 | status: {code: 200, message: OK} | 92 | status: {code: 200, message: OK} |
@@ -100,10 +100,10 @@ interactions: | |||
100 | Content-Length: ['0'] | 100 | Content-Length: ['0'] |
101 | User-Agent: [python-requests/2.18.4] | 101 | User-Agent: [python-requests/2.18.4] |
102 | method: DELETE | 102 | method: DELETE |
103 | uri: http://localhost:3000/api/v1/statuses/102945952960764447 | 103 | uri: http://localhost:3000/api/v1/statuses/102951426094514551 |
104 | response: | 104 | response: |
105 | body: {string: '{"id":"102945952960764447","created_at":"2019-10-11T21:49:41.071Z","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/102945952960764447","url":"http://localhost/@mastodonpy_test/102945952960764447","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 | 105 | body: {string: '{"id":"102951426094514551","created_at":"2019-10-12T21:01:34.467Z","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/102951426094514551","url":"http://localhost/@mastodonpy_test/102951426094514551","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 |
106 | 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:41.348Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 106 | 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:34.700Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
107 | headers: | 107 | headers: |
108 | Cache-Control: ['no-cache, no-store'] | 108 | Cache-Control: ['no-cache, no-store'] |
109 | Content-Type: [application/json; charset=utf-8] | 109 | Content-Type: [application/json; charset=utf-8] |
@@ -114,8 +114,8 @@ interactions: | |||
114 | X-Download-Options: [noopen] | 114 | X-Download-Options: [noopen] |
115 | X-Frame-Options: [SAMEORIGIN] | 115 | X-Frame-Options: [SAMEORIGIN] |
116 | X-Permitted-Cross-Domain-Policies: [none] | 116 | X-Permitted-Cross-Domain-Policies: [none] |
117 | X-Request-Id: [5aec0539-e664-4f66-8aee-acfd00e99746] | 117 | X-Request-Id: [176b7a11-7194-4881-b433-3d1177ea51f9] |
118 | X-Runtime: ['0.101913'] | 118 | X-Runtime: ['0.141503'] |
119 | X-XSS-Protection: [1; mode=block] | 119 | X-XSS-Protection: [1; mode=block] |
120 | content-length: ['1250'] | 120 | content-length: ['1250'] |
121 | status: {code: 200, message: OK} | 121 | status: {code: 200, message: OK} |