aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_status_fav_unfav.yaml')
-rw-r--r--tests/cassettes/test_status_fav_unfav.yaml54
1 files changed, 27 insertions, 27 deletions
diff --git a/tests/cassettes/test_status_fav_unfav.yaml b/tests/cassettes/test_status_fav_unfav.yaml
index 7237cce..df3a026 100644
--- a/tests/cassettes/test_status_fav_unfav.yaml
+++ b/tests/cassettes/test_status_fav_unfav.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":"100465732316946778","created_at":"2018-07-30T21:16:57.446Z","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/100465732316946778","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465732316946778","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"101999517562380578","created_at":"2019-04-27T18:18:42.983Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/101999517562380578","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999517562380578","replies_count":0,"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":"2019-04-27T20:03:12.393Z","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":114,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} 18 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","followers_count":0,"following_count":0,"statuses_count":63,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
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/"29480ac78f5bbbf009548f5b972d6372"] 22 ETag: [W/"8119d06c13cbeba2476408a385b631a7"]
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: [f07b5b5b-b0cd-4add-9dae-bb0e9e918eeb] 30 X-Request-Id: [845298fc-1d04-46f3-8233-457fb0dcbd16]
31 X-Runtime: ['0.225813'] 31 X-Runtime: ['0.171469']
32 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
33 content-length: ['1510'] 33 content-length: ['1598']
34 status: {code: 200, message: OK} 34 status: {code: 200, message: OK}
35- request: 35- request:
36 body: null 36 body: null
@@ -42,16 +42,16 @@ 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/100465732316946778/favourite 45 uri: http://localhost:3000/api/v1/statuses/101999517562380578/favourite
46 response: 46 response:
47 body: {string: '{"id":"100465732316946778","created_at":"2018-07-30T21:16:57.446Z","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/100465732316946778","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465732316946778","reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 47 body: {string: '{"id":"101999517562380578","created_at":"2019-04-27T18:18:42.983Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/101999517562380578","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999517562380578","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
48 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 48 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
49 Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI 49 Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI
50 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":114,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} 50 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","followers_count":0,"following_count":0,"statuses_count":63,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
51 headers: 51 headers:
52 Cache-Control: ['max-age=0, private, must-revalidate'] 52 Cache-Control: ['max-age=0, private, must-revalidate']
53 Content-Type: [application/json; charset=utf-8] 53 Content-Type: [application/json; charset=utf-8]
54 ETag: [W/"7a168aa433e2608cfd89f12063d447c8"] 54 ETag: [W/"dd4b90a4cc60a9693423e9529842492e"]
55 Referrer-Policy: [strict-origin-when-cross-origin] 55 Referrer-Policy: [strict-origin-when-cross-origin]
56 Transfer-Encoding: [chunked] 56 Transfer-Encoding: [chunked]
57 Vary: ['Accept-Encoding, Origin'] 57 Vary: ['Accept-Encoding, Origin']
@@ -59,10 +59,10 @@ interactions:
59 X-Download-Options: [noopen] 59 X-Download-Options: [noopen]
60 X-Frame-Options: [SAMEORIGIN] 60 X-Frame-Options: [SAMEORIGIN]
61 X-Permitted-Cross-Domain-Policies: [none] 61 X-Permitted-Cross-Domain-Policies: [none]
62 X-Request-Id: [27acc153-bf64-4d96-8c5a-348b2763922c] 62 X-Request-Id: [8217ffc4-b8cb-4b6d-bc77-c3222db3c8cf]
63 X-Runtime: ['0.118736'] 63 X-Runtime: ['0.092553']
64 X-XSS-Protection: [1; mode=block] 64 X-XSS-Protection: [1; mode=block]
65 content-length: ['1509'] 65 content-length: ['1597']
66 status: {code: 200, message: OK} 66 status: {code: 200, message: OK}
67- request: 67- request:
68 body: null 68 body: null
@@ -74,16 +74,16 @@ interactions:
74 Content-Length: ['0'] 74 Content-Length: ['0']
75 User-Agent: [python-requests/2.18.4] 75 User-Agent: [python-requests/2.18.4]
76 method: POST 76 method: POST
77 uri: http://localhost:3000/api/v1/statuses/100465732316946778/unfavourite 77 uri: http://localhost:3000/api/v1/statuses/101999517562380578/unfavourite
78 response: 78 response:
79 body: {string: '{"id":"100465732316946778","created_at":"2018-07-30T21:16:57.446Z","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/100465732316946778","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465732316946778","reblogs_count":0,"favourites_count":1,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 79 body: {string: '{"id":"101999517562380578","created_at":"2019-04-27T18:18:42.983Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/101999517562380578","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost/@mastodonpy_test/101999517562380578","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
80 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 80 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
81 Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI 81 Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI
82 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":114,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} 82 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","followers_count":0,"following_count":0,"statuses_count":63,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
83 headers: 83 headers:
84 Cache-Control: ['max-age=0, private, must-revalidate'] 84 Cache-Control: ['max-age=0, private, must-revalidate']
85 Content-Type: [application/json; charset=utf-8] 85 Content-Type: [application/json; charset=utf-8]
86 ETag: [W/"3c635870483f68ce66e3edfabc2c8ae3"] 86 ETag: [W/"ff2c8b61f821d7cb0866b1ab99f1a291"]
87 Referrer-Policy: [strict-origin-when-cross-origin] 87 Referrer-Policy: [strict-origin-when-cross-origin]
88 Transfer-Encoding: [chunked] 88 Transfer-Encoding: [chunked]
89 Vary: ['Accept-Encoding, Origin'] 89 Vary: ['Accept-Encoding, Origin']
@@ -91,10 +91,10 @@ interactions:
91 X-Download-Options: [noopen] 91 X-Download-Options: [noopen]
92 X-Frame-Options: [SAMEORIGIN] 92 X-Frame-Options: [SAMEORIGIN]
93 X-Permitted-Cross-Domain-Policies: [none] 93 X-Permitted-Cross-Domain-Policies: [none]
94 X-Request-Id: [41fe7669-7a84-442a-9ee8-ccd4eeda92e0] 94 X-Request-Id: [ec96789c-ef39-44e9-b173-6db237b5901d]
95 X-Runtime: ['0.111836'] 95 X-Runtime: ['0.049277']
96 X-XSS-Protection: [1; mode=block] 96 X-XSS-Protection: [1; mode=block]
97 content-length: ['1510'] 97 content-length: ['1598']
98 status: {code: 200, message: OK} 98 status: {code: 200, message: OK}
99- request: 99- request:
100 body: null 100 body: null
@@ -106,13 +106,13 @@ interactions:
106 Content-Length: ['0'] 106 Content-Length: ['0']
107 User-Agent: [python-requests/2.18.4] 107 User-Agent: [python-requests/2.18.4]
108 method: DELETE 108 method: DELETE
109 uri: http://localhost:3000/api/v1/statuses/100465732316946778 109 uri: http://localhost:3000/api/v1/statuses/101999517562380578
110 response: 110 response:
111 body: {string: '{}'} 111 body: {string: '{}'}
112 headers: 112 headers:
113 Cache-Control: ['max-age=0, private, must-revalidate'] 113 Cache-Control: ['max-age=0, private, must-revalidate']
114 Content-Type: [application/json; charset=utf-8] 114 Content-Type: [application/json; charset=utf-8]
115 ETag: [W/"81850b7d164d2e3521307c1d77e0d176"] 115 ETag: [W/"3e46fb8c936eeb5f07724d5b58acfbe5"]
116 Referrer-Policy: [strict-origin-when-cross-origin] 116 Referrer-Policy: [strict-origin-when-cross-origin]
117 Transfer-Encoding: [chunked] 117 Transfer-Encoding: [chunked]
118 Vary: ['Accept-Encoding, Origin'] 118 Vary: ['Accept-Encoding, Origin']
@@ -120,8 +120,8 @@ interactions:
120 X-Download-Options: [noopen] 120 X-Download-Options: [noopen]
121 X-Frame-Options: [SAMEORIGIN] 121 X-Frame-Options: [SAMEORIGIN]
122 X-Permitted-Cross-Domain-Policies: [none] 122 X-Permitted-Cross-Domain-Policies: [none]
123 X-Request-Id: [67898b39-7226-4528-b300-c096698c8bbe] 123 X-Request-Id: [02b780d8-eff3-4296-966b-f025cc13f0cb]
124 X-Runtime: ['0.049666'] 124 X-Runtime: ['0.022696']
125 X-XSS-Protection: [1; mode=block] 125 X-XSS-Protection: [1; mode=block]
126 content-length: ['2'] 126 content-length: ['2']
127 status: {code: 200, message: OK} 127 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)