diff options
author | Lorenz Diener <[email protected]> | 2018-07-14 01:07:26 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-07-14 01:07:26 +0200 |
commit | 65b1f41e65d5f20136de0bd01f154ecf4134eaf8 (patch) | |
tree | 6cb000bf369c5eda54f3ce4dcc5636437a20e9e0 /tests/cassettes/test_id_hook_within_reblog.yaml | |
parent | 91de8ca061524712cae1d1b327cc2b2881c37548 (diff) | |
download | mastodon.py-65b1f41e65d5f20136de0bd01f154ecf4134eaf8.tar.gz |
Rerun all tests
Diffstat (limited to 'tests/cassettes/test_id_hook_within_reblog.yaml')
-rw-r--r-- | tests/cassettes/test_id_hook_within_reblog.yaml | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/tests/cassettes/test_id_hook_within_reblog.yaml b/tests/cassettes/test_id_hook_within_reblog.yaml index 8802a25..90fa7e4 100644 --- a/tests/cassettes/test_id_hook_within_reblog.yaml +++ b/tests/cassettes/test_id_hook_within_reblog.yaml | |||
@@ -8,18 +8,18 @@ interactions: | |||
8 | Connection: [keep-alive] | 8 | Connection: [keep-alive] |
9 | Content-Length: ['14'] | 9 | Content-Length: ['14'] |
10 | Content-Type: [application/x-www-form-urlencoded] | 10 | Content-Type: [application/x-www-form-urlencoded] |
11 | User-Agent: [python-requests/2.9.1] | 11 | User-Agent: [python-requests/2.18.4] |
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":"100154005247589100","created_at":"2018-06-05T20:00:39.930Z","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/100154005247589100","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005247589100","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 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 |
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-06-05T21:58:43.069Z","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_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":3,"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":0,"statuses_count":33,"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/"76ad74dc906ecd227dc1e3a4058271f2"] | 22 | ETag: [W/"72647f79045f15679ba44e022d6fb083"] |
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,10 +27,10 @@ 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: [0be7a8c7-23ad-4652-97e3-f4a765d316e6] | 30 | X-Request-Id: [afa11c17-8788-48e5-b1fd-1ebb0994185d] |
31 | X-Runtime: ['1.015912'] | 31 | X-Runtime: ['0.226539'] |
32 | X-XSS-Protection: [1; mode=block] | 32 | X-XSS-Protection: [1; mode=block] |
33 | content-length: ['1504'] | 33 | content-length: ['1509'] |
34 | status: {code: 200, message: OK} | 34 | status: {code: 200, message: OK} |
35 | - request: | 35 | - request: |
36 | body: null | 36 | body: null |
@@ -40,23 +40,23 @@ interactions: | |||
40 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 40 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
41 | Connection: [keep-alive] | 41 | Connection: [keep-alive] |
42 | Content-Length: ['0'] | 42 | Content-Length: ['0'] |
43 | User-Agent: [python-requests/2.9.1] | 43 | User-Agent: [python-requests/2.18.4] |
44 | method: POST | 44 | method: POST |
45 | uri: http://localhost:3000/api/v1/statuses/100154005247589100/reblog | 45 | uri: http://localhost:3000/api/v1/statuses/100369506998072946/reblog |
46 | response: | 46 | response: |
47 | body: {string: '{"id":"100154005331623271","created_at":"2018-06-05T20:00:41.205Z","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/100154005331623271/activity","content":"\u003cp\u003eRT | 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 |
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/100154005331623271","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"100154005247589100","created_at":"2018-06-05T20:00:39.930Z","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/100154005247589100","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005247589100","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/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 |
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-06-05T21:58:43.069Z","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_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":3,"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":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 |
54 | Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","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_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":4,"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":0,"statuses_count":34,"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/"6f07dc5c830a3997e9546ab5de75de92"] | 59 | ETag: [W/"d1ec3e864e82de452ca4092f534c6a66"] |
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,10 +64,10 @@ 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: [1d5e70fe-3dcd-4844-8674-0f98cd250431] | 67 | X-Request-Id: [f715d23a-1963-41cf-a7ae-c6b45dfb58c2] |
68 | X-Runtime: ['1.860486'] | 68 | X-Runtime: ['0.276311'] |
69 | X-XSS-Protection: [1; mode=block] | 69 | X-XSS-Protection: [1; mode=block] |
70 | content-length: ['3154'] | 70 | content-length: ['3164'] |
71 | status: {code: 200, message: OK} | 71 | status: {code: 200, message: OK} |
72 | - request: | 72 | - request: |
73 | body: null | 73 | body: null |
@@ -77,15 +77,15 @@ interactions: | |||
77 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 77 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
78 | Connection: [keep-alive] | 78 | Connection: [keep-alive] |
79 | Content-Length: ['0'] | 79 | Content-Length: ['0'] |
80 | User-Agent: [python-requests/2.9.1] | 80 | User-Agent: [python-requests/2.18.4] |
81 | method: DELETE | 81 | method: DELETE |
82 | uri: http://localhost:3000/api/v1/statuses/100154005331623271 | 82 | uri: http://localhost:3000/api/v1/statuses/100369507015513007 |
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/"cd764a25002fc5ba6bea64afd643dae2"] | 88 | ETag: [W/"8d0a0a7641440add8e319c42e4231fb4"] |
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: [f6c44f73-c721-4422-b2ad-8f093bd4450b] | 96 | X-Request-Id: [14bae621-a3d5-43c7-9a5e-890acb8c62f4] |
97 | X-Runtime: ['0.086536'] | 97 | X-Runtime: ['0.027565'] |
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} |
@@ -106,15 +106,15 @@ interactions: | |||
106 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 106 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
107 | Connection: [keep-alive] | 107 | Connection: [keep-alive] |
108 | Content-Length: ['0'] | 108 | Content-Length: ['0'] |
109 | User-Agent: [python-requests/2.9.1] | 109 | User-Agent: [python-requests/2.18.4] |
110 | method: DELETE | 110 | method: DELETE |
111 | uri: http://localhost:3000/api/v1/statuses/100154005247589100 | 111 | uri: http://localhost:3000/api/v1/statuses/100369506998072946 |
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/"cd764a25002fc5ba6bea64afd643dae2"] | 117 | ETag: [W/"8d0a0a7641440add8e319c42e4231fb4"] |
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: [c70a05ec-2ccb-442d-a9dc-2bef1c56b526] | 125 | X-Request-Id: [ddcc7d83-3384-4a99-9827-53ebcfc87e74] |
126 | X-Runtime: ['0.150304'] | 126 | X-Runtime: ['0.048715'] |
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} |