diff options
author | Lorenz Diener <[email protected]> | 2018-07-30 23:19:51 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-07-30 23:19:51 +0200 |
commit | d0c71b1a8497a3047f630cd1926f803a5190d7aa (patch) | |
tree | f52a76a1160e768de4519e31548a5d1cb1c29c6f /tests/cassettes/test_id_hook_within_reblog.yaml | |
parent | 8b06b53ed50e41411857181e4881e54823ed661b (diff) | |
download | mastodon.py-d0c71b1a8497a3047f630cd1926f803a5190d7aa.tar.gz |
Fresh set of tests pre-release
Diffstat (limited to 'tests/cassettes/test_id_hook_within_reblog.yaml')
-rw-r--r-- | tests/cassettes/test_id_hook_within_reblog.yaml | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/tests/cassettes/test_id_hook_within_reblog.yaml b/tests/cassettes/test_id_hook_within_reblog.yaml index 90fa7e4..0c09c68 100644 --- a/tests/cassettes/test_id_hook_within_reblog.yaml +++ b/tests/cassettes/test_id_hook_within_reblog.yaml | |||
@@ -12,14 +12,14 @@ 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":"100369506998072946","created_at":"2018-07-13T21:25:35.648Z","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/100369506998072946","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369506998072946","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 15 | body: {string: '{"id":"100465729040685581","created_at":"2018-07-30T21:16:07.476Z","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/100465729040685581","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465729040685581","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,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 17 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","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":33,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"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":94,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"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/"72647f79045f15679ba44e022d6fb083"] | 22 | ETag: [W/"8ea41211f091d9af6235c84027a7fb73"] |
23 | Referrer-Policy: [strict-origin-when-cross-origin] | 23 | Referrer-Policy: [strict-origin-when-cross-origin] |
24 | Transfer-Encoding: [chunked] | 24 | Transfer-Encoding: [chunked] |
25 | Vary: ['Accept-Encoding, Origin'] | 25 | Vary: ['Accept-Encoding, Origin'] |
@@ -27,8 +27,8 @@ interactions: | |||
27 | X-Download-Options: [noopen] | 27 | X-Download-Options: [noopen] |
28 | X-Frame-Options: [SAMEORIGIN] | 28 | X-Frame-Options: [SAMEORIGIN] |
29 | X-Permitted-Cross-Domain-Policies: [none] | 29 | X-Permitted-Cross-Domain-Policies: [none] |
30 | X-Request-Id: [afa11c17-8788-48e5-b1fd-1ebb0994185d] | 30 | X-Request-Id: [9272fb0d-feba-4127-80a5-7cc91b73267e] |
31 | X-Runtime: ['0.226539'] | 31 | X-Runtime: ['0.231151'] |
32 | X-XSS-Protection: [1; mode=block] | 32 | X-XSS-Protection: [1; mode=block] |
33 | content-length: ['1509'] | 33 | content-length: ['1509'] |
34 | status: {code: 200, message: OK} | 34 | status: {code: 200, message: OK} |
@@ -42,21 +42,21 @@ interactions: | |||
42 | Content-Length: ['0'] | 42 | Content-Length: ['0'] |
43 | User-Agent: [python-requests/2.18.4] | 43 | User-Agent: [python-requests/2.18.4] |
44 | method: POST | 44 | method: POST |
45 | uri: http://localhost:3000/api/v1/statuses/100369506998072946/reblog | 45 | uri: http://localhost:3000/api/v1/statuses/100465729040685581/reblog |
46 | response: | 46 | response: |
47 | body: {string: '{"id":"100369507015513007","created_at":"2018-07-13T21:25:35.867Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369507015513007/activity","content":"\u003cp\u003eRT | 47 | body: {string: '{"id":"100465729056331625","created_at":"2018-07-30T21:16:07.701Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465729056331625/activity","content":"\u003cp\u003eRT |
48 | \u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | 48 | \u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" |
49 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 49 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
50 | Toot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369507015513007","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"100369506998072946","created_at":"2018-07-13T21:25:35.648Z","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/100369506998072946","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369506998072946","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 50 | Toot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465729056331625","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"100465729040685581","created_at":"2018-07-30T21:16:07.476Z","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/100465729040685581","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465729040685581","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
51 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 51 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
52 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 52 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
53 | 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":33,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},"application":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 53 | 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":94,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},"application":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
54 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 54 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
55 | 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":34,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 55 | 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":95,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
56 | headers: | 56 | headers: |
57 | Cache-Control: ['max-age=0, private, must-revalidate'] | 57 | Cache-Control: ['max-age=0, private, must-revalidate'] |
58 | Content-Type: [application/json; charset=utf-8] | 58 | Content-Type: [application/json; charset=utf-8] |
59 | ETag: [W/"d1ec3e864e82de452ca4092f534c6a66"] | 59 | ETag: [W/"d1538354152610f67472163e441f7be4"] |
60 | Referrer-Policy: [strict-origin-when-cross-origin] | 60 | Referrer-Policy: [strict-origin-when-cross-origin] |
61 | Transfer-Encoding: [chunked] | 61 | Transfer-Encoding: [chunked] |
62 | Vary: ['Accept-Encoding, Origin'] | 62 | Vary: ['Accept-Encoding, Origin'] |
@@ -64,8 +64,8 @@ interactions: | |||
64 | X-Download-Options: [noopen] | 64 | X-Download-Options: [noopen] |
65 | X-Frame-Options: [SAMEORIGIN] | 65 | X-Frame-Options: [SAMEORIGIN] |
66 | X-Permitted-Cross-Domain-Policies: [none] | 66 | X-Permitted-Cross-Domain-Policies: [none] |
67 | X-Request-Id: [f715d23a-1963-41cf-a7ae-c6b45dfb58c2] | 67 | X-Request-Id: [85f959de-bb43-49ac-bfde-f9293b0bc93a] |
68 | X-Runtime: ['0.276311'] | 68 | X-Runtime: ['0.350818'] |
69 | X-XSS-Protection: [1; mode=block] | 69 | X-XSS-Protection: [1; mode=block] |
70 | content-length: ['3164'] | 70 | content-length: ['3164'] |
71 | status: {code: 200, message: OK} | 71 | status: {code: 200, message: OK} |
@@ -79,13 +79,13 @@ interactions: | |||
79 | Content-Length: ['0'] | 79 | Content-Length: ['0'] |
80 | User-Agent: [python-requests/2.18.4] | 80 | User-Agent: [python-requests/2.18.4] |
81 | method: DELETE | 81 | method: DELETE |
82 | uri: http://localhost:3000/api/v1/statuses/100369507015513007 | 82 | uri: http://localhost:3000/api/v1/statuses/100465729056331625 |
83 | response: | 83 | response: |
84 | body: {string: '{}'} | 84 | body: {string: '{}'} |
85 | headers: | 85 | headers: |
86 | Cache-Control: ['max-age=0, private, must-revalidate'] | 86 | Cache-Control: ['max-age=0, private, must-revalidate'] |
87 | Content-Type: [application/json; charset=utf-8] | 87 | Content-Type: [application/json; charset=utf-8] |
88 | ETag: [W/"8d0a0a7641440add8e319c42e4231fb4"] | 88 | ETag: [W/"678c49fd536f0a3801ce0aa957942a31"] |
89 | Referrer-Policy: [strict-origin-when-cross-origin] | 89 | Referrer-Policy: [strict-origin-when-cross-origin] |
90 | Transfer-Encoding: [chunked] | 90 | Transfer-Encoding: [chunked] |
91 | Vary: ['Accept-Encoding, Origin'] | 91 | Vary: ['Accept-Encoding, Origin'] |
@@ -93,8 +93,8 @@ interactions: | |||
93 | X-Download-Options: [noopen] | 93 | X-Download-Options: [noopen] |
94 | X-Frame-Options: [SAMEORIGIN] | 94 | X-Frame-Options: [SAMEORIGIN] |
95 | X-Permitted-Cross-Domain-Policies: [none] | 95 | X-Permitted-Cross-Domain-Policies: [none] |
96 | X-Request-Id: [14bae621-a3d5-43c7-9a5e-890acb8c62f4] | 96 | X-Request-Id: [5f246ee1-c732-4ab4-9f9e-ae8a1180be3a] |
97 | X-Runtime: ['0.027565'] | 97 | X-Runtime: ['0.032655'] |
98 | X-XSS-Protection: [1; mode=block] | 98 | X-XSS-Protection: [1; mode=block] |
99 | content-length: ['2'] | 99 | content-length: ['2'] |
100 | status: {code: 200, message: OK} | 100 | status: {code: 200, message: OK} |
@@ -108,13 +108,13 @@ interactions: | |||
108 | Content-Length: ['0'] | 108 | Content-Length: ['0'] |
109 | User-Agent: [python-requests/2.18.4] | 109 | User-Agent: [python-requests/2.18.4] |
110 | method: DELETE | 110 | method: DELETE |
111 | uri: http://localhost:3000/api/v1/statuses/100369506998072946 | 111 | uri: http://localhost:3000/api/v1/statuses/100465729040685581 |
112 | response: | 112 | response: |
113 | body: {string: '{}'} | 113 | body: {string: '{}'} |
114 | headers: | 114 | headers: |
115 | Cache-Control: ['max-age=0, private, must-revalidate'] | 115 | Cache-Control: ['max-age=0, private, must-revalidate'] |
116 | Content-Type: [application/json; charset=utf-8] | 116 | Content-Type: [application/json; charset=utf-8] |
117 | ETag: [W/"8d0a0a7641440add8e319c42e4231fb4"] | 117 | ETag: [W/"678c49fd536f0a3801ce0aa957942a31"] |
118 | Referrer-Policy: [strict-origin-when-cross-origin] | 118 | Referrer-Policy: [strict-origin-when-cross-origin] |
119 | Transfer-Encoding: [chunked] | 119 | Transfer-Encoding: [chunked] |
120 | Vary: ['Accept-Encoding, Origin'] | 120 | Vary: ['Accept-Encoding, Origin'] |
@@ -122,8 +122,8 @@ interactions: | |||
122 | X-Download-Options: [noopen] | 122 | X-Download-Options: [noopen] |
123 | X-Frame-Options: [SAMEORIGIN] | 123 | X-Frame-Options: [SAMEORIGIN] |
124 | X-Permitted-Cross-Domain-Policies: [none] | 124 | X-Permitted-Cross-Domain-Policies: [none] |
125 | X-Request-Id: [ddcc7d83-3384-4a99-9827-53ebcfc87e74] | 125 | X-Request-Id: [006e7aed-1d1f-48db-93af-dd2d11f5392a] |
126 | X-Runtime: ['0.048715'] | 126 | X-Runtime: ['0.068961'] |
127 | X-XSS-Protection: [1; mode=block] | 127 | X-XSS-Protection: [1; mode=block] |
128 | content-length: ['2'] | 128 | content-length: ['2'] |
129 | status: {code: 200, message: OK} | 129 | status: {code: 200, message: OK} |