aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_id_hook_in_reply_to.yaml')
-rw-r--r--tests/cassettes/test_id_hook_in_reply_to.yaml54
1 files changed, 27 insertions, 27 deletions
diff --git a/tests/cassettes/test_id_hook_in_reply_to.yaml b/tests/cassettes/test_id_hook_in_reply_to.yaml
index 49ce9d2..d22e4aa 100644
--- a/tests/cassettes/test_id_hook_in_reply_to.yaml
+++ b/tests/cassettes/test_id_hook_in_reply_to.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":"100154005043647299","created_at":"2018-06-05T20:00:36.812Z","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/100154005043647299","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005043647299","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 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
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":2,"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":32,"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/"4b2ed835f8a6807bd881934298f025b8"] 22 ETag: [W/"306ed26114e0b0d6da6ef41fc3c9bcc7"]
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: [3449f1d3-e040-4003-8b51-630fbc121611] 30 X-Request-Id: [c9c244da-f062-41c7-a931-798a88d5acf6]
31 X-Runtime: ['0.664248'] 31 X-Runtime: ['0.226007']
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: status=Reply%21&in_reply_to_id=100154005043647299 36 body: in_reply_to_id=100369506956576010&status=Reply%21
37 headers: 37 headers:
38 Accept: ['*/*'] 38 Accept: ['*/*']
39 Accept-Encoding: ['gzip, deflate'] 39 Accept-Encoding: ['gzip, deflate']
@@ -41,18 +41,18 @@ interactions:
41 Connection: [keep-alive] 41 Connection: [keep-alive]
42 Content-Length: ['49'] 42 Content-Length: ['49']
43 Content-Type: [application/x-www-form-urlencoded] 43 Content-Type: [application/x-www-form-urlencoded]
44 User-Agent: [python-requests/2.9.1] 44 User-Agent: [python-requests/2.18.4]
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":"100154005096704419","created_at":"2018-06-05T20:00:37.585Z","in_reply_to_id":"100154005043647299","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154005096704419","content":"\u003cp\u003eReply!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005096704419","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 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
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-06-05T21:58:43.069Z","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_.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":[]}'} 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":[]}'}
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/"064619df5c2309821511deed386adba7"] 55 ETag: [W/"2cebaf682a8127ad678116424fd37378"]
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,10 +60,10 @@ 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: [0dcc255f-c628-4753-932a-837a67fb6c77] 63 X-Request-Id: [b03bcf75-e4b8-4199-a2a3-8365fe48d0f9]
64 X-Runtime: ['1.483628'] 64 X-Runtime: ['0.223022']
65 X-XSS-Protection: [1; mode=block] 65 X-XSS-Protection: [1; mode=block]
66 content-length: ['1535'] 66 content-length: ['1540']
67 status: {code: 200, message: OK} 67 status: {code: 200, message: OK}
68- request: 68- request:
69 body: null 69 body: null
@@ -73,15 +73,15 @@ interactions:
73 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 73 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
74 Connection: [keep-alive] 74 Connection: [keep-alive]
75 Content-Length: ['0'] 75 Content-Length: ['0']
76 User-Agent: [python-requests/2.9.1] 76 User-Agent: [python-requests/2.18.4]
77 method: DELETE 77 method: DELETE
78 uri: http://localhost:3000/api/v1/statuses/100154005096704419 78 uri: http://localhost:3000/api/v1/statuses/100369506969159521
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/"3e9213ff658dfd16d6544d0e26f1361d"] 84 ETag: [W/"cf0dd4d94a62ea82daaea41fba27806e"]
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: [84215267-ed1c-43d5-b43f-b5b946614be3] 92 X-Request-Id: [dbcd115c-2ecc-480f-a1c4-466fd130e0bd]
93 X-Runtime: ['0.350299'] 93 X-Runtime: ['0.053396']
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}
@@ -102,15 +102,15 @@ interactions:
102 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 102 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
103 Connection: [keep-alive] 103 Connection: [keep-alive]
104 Content-Length: ['0'] 104 Content-Length: ['0']
105 User-Agent: [python-requests/2.9.1] 105 User-Agent: [python-requests/2.18.4]
106 method: DELETE 106 method: DELETE
107 uri: http://localhost:3000/api/v1/statuses/100154005043647299 107 uri: http://localhost:3000/api/v1/statuses/100369506956576010
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/"3e9213ff658dfd16d6544d0e26f1361d"] 113 ETag: [W/"cf0dd4d94a62ea82daaea41fba27806e"]
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: [8f9822bf-120b-4284-b2f2-624a04f85c90] 121 X-Request-Id: [943ac7e3-11b6-45f1-bc14-9de9d2f22b04]
122 X-Runtime: ['0.227419'] 122 X-Runtime: ['0.091455']
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}
Powered by cgit v1.2.3 (git 2.41.0)