diff options
Diffstat (limited to 'tests/cassettes/test_id_hook_in_reply_to.yaml')
-rw-r--r-- | tests/cassettes/test_id_hook_in_reply_to.yaml | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/cassettes/test_id_hook_in_reply_to.yaml b/tests/cassettes/test_id_hook_in_reply_to.yaml index d22e4aa..3caded4 100644 --- a/tests/cassettes/test_id_hook_in_reply_to.yaml +++ b/tests/cassettes/test_id_hook_in_reply_to.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":"100369506956576010","created_at":"2018-07-13T21:25:34.968Z","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/100369506956576010","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369506956576010","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 15 | body: {string: '{"id":"100465728997299402","created_at":"2018-07-30T21:16:06.800Z","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/100465728997299402","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465728997299402","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":32,"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":93,"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/"306ed26114e0b0d6da6ef41fc3c9bcc7"] | 22 | ETag: [W/"7d3e9e1a3e0ba5bb297beba95941d930"] |
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,13 +27,13 @@ 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: [c9c244da-f062-41c7-a931-798a88d5acf6] | 30 | X-Request-Id: [95e78db7-6d84-430a-a8c3-4239576f17d9] |
31 | X-Runtime: ['0.226007'] | 31 | X-Runtime: ['0.220343'] |
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} |
35 | - request: | 35 | - request: |
36 | body: in_reply_to_id=100369506956576010&status=Reply%21 | 36 | body: in_reply_to_id=100465728997299402&status=Reply%21 |
37 | headers: | 37 | headers: |
38 | Accept: ['*/*'] | 38 | Accept: ['*/*'] |
39 | Accept-Encoding: ['gzip, deflate'] | 39 | Accept-Encoding: ['gzip, deflate'] |
@@ -45,14 +45,14 @@ interactions: | |||
45 | method: POST | 45 | method: POST |
46 | uri: http://localhost:3000/api/v1/statuses | 46 | uri: http://localhost:3000/api/v1/statuses |
47 | response: | 47 | response: |
48 | body: {string: '{"id":"100369506969159521","created_at":"2018-07-13T21:25:35.161Z","in_reply_to_id":"100369506956576010","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369506969159521","content":"\u003cp\u003eReply!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369506969159521","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 48 | body: {string: '{"id":"100465729011721234","created_at":"2018-07-30T21:16:07.012Z","in_reply_to_id":"100465728997299402","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465729011721234","content":"\u003cp\u003eReply!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465729011721234","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
49 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 49 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
50 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 50 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
51 | 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":[]}'} | 51 | 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":[]}'} |
52 | headers: | 52 | headers: |
53 | Cache-Control: ['max-age=0, private, must-revalidate'] | 53 | Cache-Control: ['max-age=0, private, must-revalidate'] |
54 | Content-Type: [application/json; charset=utf-8] | 54 | Content-Type: [application/json; charset=utf-8] |
55 | ETag: [W/"2cebaf682a8127ad678116424fd37378"] | 55 | ETag: [W/"40fb51551b7383af74af67cad46302c2"] |
56 | Referrer-Policy: [strict-origin-when-cross-origin] | 56 | Referrer-Policy: [strict-origin-when-cross-origin] |
57 | Transfer-Encoding: [chunked] | 57 | Transfer-Encoding: [chunked] |
58 | Vary: ['Accept-Encoding, Origin'] | 58 | Vary: ['Accept-Encoding, Origin'] |
@@ -60,8 +60,8 @@ interactions: | |||
60 | X-Download-Options: [noopen] | 60 | X-Download-Options: [noopen] |
61 | X-Frame-Options: [SAMEORIGIN] | 61 | X-Frame-Options: [SAMEORIGIN] |
62 | X-Permitted-Cross-Domain-Policies: [none] | 62 | X-Permitted-Cross-Domain-Policies: [none] |
63 | X-Request-Id: [b03bcf75-e4b8-4199-a2a3-8365fe48d0f9] | 63 | X-Request-Id: [da0b5ec5-90c3-4c25-9109-66b4be4640a8] |
64 | X-Runtime: ['0.223022'] | 64 | X-Runtime: ['0.202475'] |
65 | X-XSS-Protection: [1; mode=block] | 65 | X-XSS-Protection: [1; mode=block] |
66 | content-length: ['1540'] | 66 | content-length: ['1540'] |
67 | status: {code: 200, message: OK} | 67 | status: {code: 200, message: OK} |
@@ -75,13 +75,13 @@ interactions: | |||
75 | Content-Length: ['0'] | 75 | Content-Length: ['0'] |
76 | User-Agent: [python-requests/2.18.4] | 76 | User-Agent: [python-requests/2.18.4] |
77 | method: DELETE | 77 | method: DELETE |
78 | uri: http://localhost:3000/api/v1/statuses/100369506969159521 | 78 | uri: http://localhost:3000/api/v1/statuses/100465729011721234 |
79 | response: | 79 | response: |
80 | body: {string: '{}'} | 80 | body: {string: '{}'} |
81 | headers: | 81 | headers: |
82 | Cache-Control: ['max-age=0, private, must-revalidate'] | 82 | Cache-Control: ['max-age=0, private, must-revalidate'] |
83 | Content-Type: [application/json; charset=utf-8] | 83 | Content-Type: [application/json; charset=utf-8] |
84 | ETag: [W/"cf0dd4d94a62ea82daaea41fba27806e"] | 84 | ETag: [W/"458f561bca4f930c710844d9594fee39"] |
85 | Referrer-Policy: [strict-origin-when-cross-origin] | 85 | Referrer-Policy: [strict-origin-when-cross-origin] |
86 | Transfer-Encoding: [chunked] | 86 | Transfer-Encoding: [chunked] |
87 | Vary: ['Accept-Encoding, Origin'] | 87 | Vary: ['Accept-Encoding, Origin'] |
@@ -89,8 +89,8 @@ interactions: | |||
89 | X-Download-Options: [noopen] | 89 | X-Download-Options: [noopen] |
90 | X-Frame-Options: [SAMEORIGIN] | 90 | X-Frame-Options: [SAMEORIGIN] |
91 | X-Permitted-Cross-Domain-Policies: [none] | 91 | X-Permitted-Cross-Domain-Policies: [none] |
92 | X-Request-Id: [dbcd115c-2ecc-480f-a1c4-466fd130e0bd] | 92 | X-Request-Id: [e607fc0e-0c5f-4f97-bd6b-dc334691c01e] |
93 | X-Runtime: ['0.053396'] | 93 | X-Runtime: ['0.064967'] |
94 | X-XSS-Protection: [1; mode=block] | 94 | X-XSS-Protection: [1; mode=block] |
95 | content-length: ['2'] | 95 | content-length: ['2'] |
96 | status: {code: 200, message: OK} | 96 | status: {code: 200, message: OK} |
@@ -104,13 +104,13 @@ interactions: | |||
104 | Content-Length: ['0'] | 104 | Content-Length: ['0'] |
105 | User-Agent: [python-requests/2.18.4] | 105 | User-Agent: [python-requests/2.18.4] |
106 | method: DELETE | 106 | method: DELETE |
107 | uri: http://localhost:3000/api/v1/statuses/100369506956576010 | 107 | uri: http://localhost:3000/api/v1/statuses/100465728997299402 |
108 | response: | 108 | response: |
109 | body: {string: '{}'} | 109 | body: {string: '{}'} |
110 | headers: | 110 | headers: |
111 | Cache-Control: ['max-age=0, private, must-revalidate'] | 111 | Cache-Control: ['max-age=0, private, must-revalidate'] |
112 | Content-Type: [application/json; charset=utf-8] | 112 | Content-Type: [application/json; charset=utf-8] |
113 | ETag: [W/"cf0dd4d94a62ea82daaea41fba27806e"] | 113 | ETag: [W/"458f561bca4f930c710844d9594fee39"] |
114 | Referrer-Policy: [strict-origin-when-cross-origin] | 114 | Referrer-Policy: [strict-origin-when-cross-origin] |
115 | Transfer-Encoding: [chunked] | 115 | Transfer-Encoding: [chunked] |
116 | Vary: ['Accept-Encoding, Origin'] | 116 | Vary: ['Accept-Encoding, Origin'] |
@@ -118,8 +118,8 @@ interactions: | |||
118 | X-Download-Options: [noopen] | 118 | X-Download-Options: [noopen] |
119 | X-Frame-Options: [SAMEORIGIN] | 119 | X-Frame-Options: [SAMEORIGIN] |
120 | X-Permitted-Cross-Domain-Policies: [none] | 120 | X-Permitted-Cross-Domain-Policies: [none] |
121 | X-Request-Id: [943ac7e3-11b6-45f1-bc14-9de9d2f22b04] | 121 | X-Request-Id: [dcaa636e-84be-4ff8-9bfe-5632d8f32fb2] |
122 | X-Runtime: ['0.091455'] | 122 | X-Runtime: ['0.068159'] |
123 | X-XSS-Protection: [1; mode=block] | 123 | X-XSS-Protection: [1; mode=block] |
124 | content-length: ['2'] | 124 | content-length: ['2'] |
125 | status: {code: 200, message: OK} | 125 | status: {code: 200, message: OK} |