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.yaml42
1 files changed, 21 insertions, 21 deletions
diff --git a/tests/cassettes/test_id_hook_in_reply_to.yaml b/tests/cassettes/test_id_hook_in_reply_to.yaml
index e639be7..975a965 100644
--- a/tests/cassettes/test_id_hook_in_reply_to.yaml
+++ b/tests/cassettes/test_id_hook_in_reply_to.yaml
@@ -12,25 +12,25 @@ 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":"99979312416335425","created_at":"2018-05-05T23:33:58.813Z","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/99979312416335425","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979312416335425","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"99979649277048199","created_at":"2018-05-06T00:59:38.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/99979649277048199","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979649277048199","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,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI 17 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","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_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":127},"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":130},"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/"40958c1107ae1e91ea28a1ffc15fb176"] 22 ETag: [W/"31729b27ba7b3bad99948d2193913e3c"]
23 Transfer-Encoding: [chunked] 23 Transfer-Encoding: [chunked]
24 Vary: ['Accept-Encoding, Origin'] 24 Vary: ['Accept-Encoding, Origin']
25 X-Content-Type-Options: [nosniff] 25 X-Content-Type-Options: [nosniff]
26 X-Frame-Options: [SAMEORIGIN] 26 X-Frame-Options: [SAMEORIGIN]
27 X-Request-Id: [8ce126f1-7339-4dcd-a3b0-7944dbf1b9cc] 27 X-Request-Id: [c8b719b0-50ef-4917-8a9f-5e1fe4a6ae6b]
28 X-Runtime: ['0.482959'] 28 X-Runtime: ['0.445238']
29 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
30 content-length: ['1398'] 30 content-length: ['1402']
31 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
32- request: 32- request:
33 body: status=Reply%21&in_reply_to_id=99979312416335425 33 body: in_reply_to_id=99979649277048199&status=Reply%21
34 headers: 34 headers:
35 Accept: ['*/*'] 35 Accept: ['*/*']
36 Accept-Encoding: ['gzip, deflate'] 36 Accept-Encoding: ['gzip, deflate']
@@ -42,22 +42,22 @@ interactions:
42 method: POST 42 method: POST
43 uri: http://localhost:3000/api/v1/statuses 43 uri: http://localhost:3000/api/v1/statuses
44 response: 44 response:
45 body: {string: '{"id":"99979312448765644","created_at":"2018-05-05T23:33:59.332Z","in_reply_to_id":"99979312416335425","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979312448765644","content":"\u003cp\u003eReply!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979312448765644","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 45 body: {string: '{"id":"99979649306470217","created_at":"2018-05-06T00:59:39.315Z","in_reply_to_id":"99979649277048199","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979649306470217","content":"\u003cp\u003eReply!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979649306470217","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
46 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 46 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
47 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI 47 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI
48 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_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":127},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} 48 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":130},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
49 headers: 49 headers:
50 Cache-Control: ['max-age=0, private, must-revalidate'] 50 Cache-Control: ['max-age=0, private, must-revalidate']
51 Content-Type: [application/json; charset=utf-8] 51 Content-Type: [application/json; charset=utf-8]
52 ETag: [W/"f31fe1d7f88e1b5e829d3681b13d4845"] 52 ETag: [W/"142c50580b7dc90e005225f035b7ebf9"]
53 Transfer-Encoding: [chunked] 53 Transfer-Encoding: [chunked]
54 Vary: ['Accept-Encoding, Origin'] 54 Vary: ['Accept-Encoding, Origin']
55 X-Content-Type-Options: [nosniff] 55 X-Content-Type-Options: [nosniff]
56 X-Frame-Options: [SAMEORIGIN] 56 X-Frame-Options: [SAMEORIGIN]
57 X-Request-Id: [3aaa8427-06f6-4cda-9868-286c8a70fa9d] 57 X-Request-Id: [050e1d94-134e-45fb-9642-ecfc0c12b87d]
58 X-Runtime: ['0.575108'] 58 X-Runtime: ['0.380395']
59 X-XSS-Protection: [1; mode=block] 59 X-XSS-Protection: [1; mode=block]
60 content-length: ['1428'] 60 content-length: ['1432']
61 status: {code: 200, message: OK} 61 status: {code: 200, message: OK}
62- request: 62- request:
63 body: null 63 body: null
@@ -69,19 +69,19 @@ interactions:
69 Content-Length: ['0'] 69 Content-Length: ['0']
70 User-Agent: [python-requests/2.9.1] 70 User-Agent: [python-requests/2.9.1]
71 method: DELETE 71 method: DELETE
72 uri: http://localhost:3000/api/v1/statuses/99979312448765644 72 uri: http://localhost:3000/api/v1/statuses/99979649306470217
73 response: 73 response:
74 body: {string: '{}'} 74 body: {string: '{}'}
75 headers: 75 headers:
76 Cache-Control: ['max-age=0, private, must-revalidate'] 76 Cache-Control: ['max-age=0, private, must-revalidate']
77 Content-Type: [application/json; charset=utf-8] 77 Content-Type: [application/json; charset=utf-8]
78 ETag: [W/"b7f47dc89c01eedb20c8721e02fcb9f2"] 78 ETag: [W/"c1c7795762f368c73cc1f022e1c42f47"]
79 Transfer-Encoding: [chunked] 79 Transfer-Encoding: [chunked]
80 Vary: ['Accept-Encoding, Origin'] 80 Vary: ['Accept-Encoding, Origin']
81 X-Content-Type-Options: [nosniff] 81 X-Content-Type-Options: [nosniff]
82 X-Frame-Options: [SAMEORIGIN] 82 X-Frame-Options: [SAMEORIGIN]
83 X-Request-Id: [ff0598bf-3707-45fe-af0f-b35da9a055c2] 83 X-Request-Id: [041c4293-0b37-44ec-b806-3e95b1536673]
84 X-Runtime: ['0.208417'] 84 X-Runtime: ['0.065730']
85 X-XSS-Protection: [1; mode=block] 85 X-XSS-Protection: [1; mode=block]
86 content-length: ['2'] 86 content-length: ['2']
87 status: {code: 200, message: OK} 87 status: {code: 200, message: OK}
@@ -95,19 +95,19 @@ interactions:
95 Content-Length: ['0'] 95 Content-Length: ['0']
96 User-Agent: [python-requests/2.9.1] 96 User-Agent: [python-requests/2.9.1]
97 method: DELETE 97 method: DELETE
98 uri: http://localhost:3000/api/v1/statuses/99979312416335425 98 uri: http://localhost:3000/api/v1/statuses/99979649277048199
99 response: 99 response:
100 body: {string: '{}'} 100 body: {string: '{}'}
101 headers: 101 headers:
102 Cache-Control: ['max-age=0, private, must-revalidate'] 102 Cache-Control: ['max-age=0, private, must-revalidate']
103 Content-Type: [application/json; charset=utf-8] 103 Content-Type: [application/json; charset=utf-8]
104 ETag: [W/"f8cdf1d20a531e432d376e99353f81d7"] 104 ETag: [W/"c1c7795762f368c73cc1f022e1c42f47"]
105 Transfer-Encoding: [chunked] 105 Transfer-Encoding: [chunked]
106 Vary: ['Accept-Encoding, Origin'] 106 Vary: ['Accept-Encoding, Origin']
107 X-Content-Type-Options: [nosniff] 107 X-Content-Type-Options: [nosniff]
108 X-Frame-Options: [SAMEORIGIN] 108 X-Frame-Options: [SAMEORIGIN]
109 X-Request-Id: [2dce73d6-d870-4a13-91d7-582492ea3844] 109 X-Request-Id: [70cdb656-b517-4d34-b4fb-ee13af1ec754]
110 X-Runtime: ['0.226454'] 110 X-Runtime: ['0.099930']
111 X-XSS-Protection: [1; mode=block] 111 X-XSS-Protection: [1; mode=block]
112 content-length: ['2'] 112 content-length: ['2']
113 status: {code: 200, message: OK} 113 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)