aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
committerLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
commit225c8ca76a8fc6eb2a87a8156b7ce808d3b06507 (patch)
tree58a331db57609ca038d9428f27b064a4c1b32854 /tests/cassettes/test_status_fav_unfav.yaml
parentf920f8b58429b5d7dea43442765df824ac04bf91 (diff)
downloadmastodon.py-225c8ca76a8fc6eb2a87a8156b7ce808d3b06507.tar.gz
Fresh batch of test runs
Diffstat (limited to 'tests/cassettes/test_status_fav_unfav.yaml')
-rw-r--r--tests/cassettes/test_status_fav_unfav.yaml54
1 files changed, 23 insertions, 31 deletions
diff --git a/tests/cassettes/test_status_fav_unfav.yaml b/tests/cassettes/test_status_fav_unfav.yaml
index 02bb9fc..86e4658 100644
--- a/tests/cassettes/test_status_fav_unfav.yaml
+++ b/tests/cassettes/test_status_fav_unfav.yaml
@@ -12,10 +12,8 @@ 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":"102315368907921493","created_at":"2019-06-22T13:03:52.023Z","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/102315368907921493","url":"http://localhost/@mastodonpy_test/102315368907921493","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"102317293400465830","created_at":"2019-06-22T21:13:17.449Z","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/102317293400465830","url":"http://localhost/@mastodonpy_test/102317293400465830","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","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":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
17 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
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?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"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: 17 headers:
20 Cache-Control: ['no-cache, no-store'] 18 Cache-Control: ['no-cache, no-store']
21 Content-Type: [application/json; charset=utf-8] 19 Content-Type: [application/json; charset=utf-8]
@@ -26,10 +24,10 @@ interactions:
26 X-Download-Options: [noopen] 24 X-Download-Options: [noopen]
27 X-Frame-Options: [SAMEORIGIN] 25 X-Frame-Options: [SAMEORIGIN]
28 X-Permitted-Cross-Domain-Policies: [none] 26 X-Permitted-Cross-Domain-Policies: [none]
29 X-Request-Id: [7e6b3784-3bcb-45ea-8569-6315c9377799] 27 X-Request-Id: [9c97044e-8ee5-4aea-9048-4db6ec5b271d]
30 X-Runtime: ['0.210047'] 28 X-Runtime: ['0.152678']
31 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
32 content-length: ['1597'] 30 content-length: ['1236']
33 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
34- request: 32- request:
35 body: null 33 body: null
@@ -41,12 +39,10 @@ interactions:
41 Content-Length: ['0'] 39 Content-Length: ['0']
42 User-Agent: [python-requests/2.18.4] 40 User-Agent: [python-requests/2.18.4]
43 method: POST 41 method: POST
44 uri: http://localhost:3000/api/v1/statuses/102315368907921493/favourite 42 uri: http://localhost:3000/api/v1/statuses/102317293400465830/favourite
45 response: 43 response:
46 body: {string: '{"id":"102315368907921493","created_at":"2019-06-22T13:03:52.023Z","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/102315368907921493","url":"http://localhost/@mastodonpy_test/102315368907921493","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 44 body: {string: '{"id":"102317293400465830","created_at":"2019-06-22T21:13:17.449Z","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/102317293400465830","url":"http://localhost/@mastodonpy_test/102317293400465830","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
47 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 45 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
48 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
49 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"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}'}
50 headers: 46 headers:
51 Cache-Control: ['no-cache, no-store'] 47 Cache-Control: ['no-cache, no-store']
52 Content-Type: [application/json; charset=utf-8] 48 Content-Type: [application/json; charset=utf-8]
@@ -57,10 +53,10 @@ interactions:
57 X-Download-Options: [noopen] 53 X-Download-Options: [noopen]
58 X-Frame-Options: [SAMEORIGIN] 54 X-Frame-Options: [SAMEORIGIN]
59 X-Permitted-Cross-Domain-Policies: [none] 55 X-Permitted-Cross-Domain-Policies: [none]
60 X-Request-Id: [3bc78216-d29b-4674-a225-f8470bf0316b] 56 X-Request-Id: [5a49d75e-941f-4120-823e-147e4bacbabf]
61 X-Runtime: ['0.063374'] 57 X-Runtime: ['0.110414']
62 X-XSS-Protection: [1; mode=block] 58 X-XSS-Protection: [1; mode=block]
63 content-length: ['1596'] 59 content-length: ['1235']
64 status: {code: 200, message: OK} 60 status: {code: 200, message: OK}
65- request: 61- request:
66 body: null 62 body: null
@@ -72,12 +68,10 @@ interactions:
72 Content-Length: ['0'] 68 Content-Length: ['0']
73 User-Agent: [python-requests/2.18.4] 69 User-Agent: [python-requests/2.18.4]
74 method: POST 70 method: POST
75 uri: http://localhost:3000/api/v1/statuses/102315368907921493/unfavourite 71 uri: http://localhost:3000/api/v1/statuses/102317293400465830/unfavourite
76 response: 72 response:
77 body: {string: '{"id":"102315368907921493","created_at":"2019-06-22T13:03:52.023Z","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/102315368907921493","url":"http://localhost/@mastodonpy_test/102315368907921493","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 73 body: {string: '{"id":"102317293400465830","created_at":"2019-06-22T21:13:17.449Z","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/102317293400465830","url":"http://localhost/@mastodonpy_test/102317293400465830","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
78 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 74 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
79 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
80 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"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}'}
81 headers: 75 headers:
82 Cache-Control: ['no-cache, no-store'] 76 Cache-Control: ['no-cache, no-store']
83 Content-Type: [application/json; charset=utf-8] 77 Content-Type: [application/json; charset=utf-8]
@@ -88,10 +82,10 @@ interactions:
88 X-Download-Options: [noopen] 82 X-Download-Options: [noopen]
89 X-Frame-Options: [SAMEORIGIN] 83 X-Frame-Options: [SAMEORIGIN]
90 X-Permitted-Cross-Domain-Policies: [none] 84 X-Permitted-Cross-Domain-Policies: [none]
91 X-Request-Id: [baa6b7fb-50f8-4a3a-a8b3-66ff5e4ae1f2] 85 X-Request-Id: [435a9d31-a961-4c94-a5b9-23637a54298c]
92 X-Runtime: ['0.064270'] 86 X-Runtime: ['0.070501']
93 X-XSS-Protection: [1; mode=block] 87 X-XSS-Protection: [1; mode=block]
94 content-length: ['1597'] 88 content-length: ['1236']
95 status: {code: 200, message: OK} 89 status: {code: 200, message: OK}
96- request: 90- request:
97 body: null 91 body: null
@@ -103,12 +97,10 @@ interactions:
103 Content-Length: ['0'] 97 Content-Length: ['0']
104 User-Agent: [python-requests/2.18.4] 98 User-Agent: [python-requests/2.18.4]
105 method: DELETE 99 method: DELETE
106 uri: http://localhost:3000/api/v1/statuses/102315368907921493 100 uri: http://localhost:3000/api/v1/statuses/102317293400465830
107 response: 101 response:
108 body: {string: '{"id":"102315368907921493","created_at":"2019-06-22T13:03:52.023Z","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/102315368907921493","url":"http://localhost/@mastodonpy_test/102315368907921493","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py 102 body: {string: '{"id":"102317293400465830","created_at":"2019-06-22T21:13:17.449Z","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/102317293400465830","url":"http://localhost/@mastodonpy_test/102317293400465830","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
109 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 103 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
110 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
111 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"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}'}
112 headers: 104 headers:
113 Cache-Control: ['no-cache, no-store'] 105 Cache-Control: ['no-cache, no-store']
114 Content-Type: [application/json; charset=utf-8] 106 Content-Type: [application/json; charset=utf-8]
@@ -119,9 +111,9 @@ interactions:
119 X-Download-Options: [noopen] 111 X-Download-Options: [noopen]
120 X-Frame-Options: [SAMEORIGIN] 112 X-Frame-Options: [SAMEORIGIN]
121 X-Permitted-Cross-Domain-Policies: [none] 113 X-Permitted-Cross-Domain-Policies: [none]
122 X-Request-Id: [42bc93c2-6d27-4444-810d-82f9b1b19124] 114 X-Request-Id: [35f80620-29d4-4468-b91d-c80b0eb919bc]
123 X-Runtime: ['0.073518'] 115 X-Runtime: ['0.122945']
124 X-XSS-Protection: [1; mode=block] 116 X-XSS-Protection: [1; mode=block]
125 content-length: ['1567'] 117 content-length: ['1206']
126 status: {code: 200, message: OK} 118 status: {code: 200, message: OK}
127version: 1 119version: 1
Powered by cgit v1.2.3 (git 2.41.0)