diff options
author | Lorenz Diener <[email protected]> | 2019-10-12 23:03:14 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-10-12 23:03:14 +0200 |
commit | 0b3b2c31a024a335a9e52e93c350f1a214a92219 (patch) | |
tree | cbe224dc43430de144c1be6919f04bb812c458ca /tests/cassettes/test_status_favourited_by.yaml | |
parent | 45908b6f4e9c66fe102b30764e6d153a8d0339a5 (diff) | |
download | mastodon.py-0b3b2c31a024a335a9e52e93c350f1a214a92219.tar.gz |
Pre-release full testsuite updated run
Diffstat (limited to 'tests/cassettes/test_status_favourited_by.yaml')
-rw-r--r-- | tests/cassettes/test_status_favourited_by.yaml | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/cassettes/test_status_favourited_by.yaml b/tests/cassettes/test_status_favourited_by.yaml index 060349a..36aba90 100644 --- a/tests/cassettes/test_status_favourited_by.yaml +++ b/tests/cassettes/test_status_favourited_by.yaml | |||
@@ -12,8 +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":"102945952679207115","created_at":"2019-10-11T21:49:36.788Z","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/102945952679207115","url":"http://localhost/@mastodonpy_test/102945952679207115","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":"102951425834281121","created_at":"2019-10-12T21:01:30.512Z","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/102951425834281121","url":"http://localhost/@mastodonpy_test/102951425834281121","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":"","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":3,"last_status_at":"2019-10-11T21:49:36.798Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 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":3,"last_status_at":"2019-10-12T21:01:30.539Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
17 | headers: | 17 | headers: |
18 | Cache-Control: ['no-cache, no-store'] | 18 | Cache-Control: ['no-cache, no-store'] |
19 | Content-Type: [application/json; charset=utf-8] | 19 | Content-Type: [application/json; charset=utf-8] |
@@ -24,8 +24,8 @@ interactions: | |||
24 | X-Download-Options: [noopen] | 24 | X-Download-Options: [noopen] |
25 | X-Frame-Options: [SAMEORIGIN] | 25 | X-Frame-Options: [SAMEORIGIN] |
26 | X-Permitted-Cross-Domain-Policies: [none] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
27 | X-Request-Id: [5f951988-a104-4003-ba03-8a39eb9d7408] | 27 | X-Request-Id: [e111e34a-6b95-4d67-bd64-8c1567a0f5c4] |
28 | X-Runtime: ['0.212634'] | 28 | X-Runtime: ['0.177711'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['1280'] | 30 | content-length: ['1280'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
@@ -39,10 +39,10 @@ interactions: | |||
39 | Content-Length: ['0'] | 39 | Content-Length: ['0'] |
40 | User-Agent: [python-requests/2.18.4] | 40 | User-Agent: [python-requests/2.18.4] |
41 | method: POST | 41 | method: POST |
42 | uri: http://localhost:3000/api/v1/statuses/102945952679207115/favourite | 42 | uri: http://localhost:3000/api/v1/statuses/102951425834281121/favourite |
43 | response: | 43 | response: |
44 | body: {string: '{"id":"102945952679207115","created_at":"2019-10-11T21:49:36.788Z","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/102945952679207115","url":"http://localhost/@mastodonpy_test/102945952679207115","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":"102951425834281121","created_at":"2019-10-12T21:01:30.512Z","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/102951425834281121","url":"http://localhost/@mastodonpy_test/102951425834281121","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 |
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":3,"last_status_at":"2019-10-11T21:49:36.798Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 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":3,"last_status_at":"2019-10-12T21:01:30.539Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
46 | headers: | 46 | headers: |
47 | Cache-Control: ['no-cache, no-store'] | 47 | Cache-Control: ['no-cache, no-store'] |
48 | Content-Type: [application/json; charset=utf-8] | 48 | Content-Type: [application/json; charset=utf-8] |
@@ -53,8 +53,8 @@ interactions: | |||
53 | X-Download-Options: [noopen] | 53 | X-Download-Options: [noopen] |
54 | X-Frame-Options: [SAMEORIGIN] | 54 | X-Frame-Options: [SAMEORIGIN] |
55 | X-Permitted-Cross-Domain-Policies: [none] | 55 | X-Permitted-Cross-Domain-Policies: [none] |
56 | X-Request-Id: [d8ac712a-3210-43ec-92b0-7c1239285872] | 56 | X-Request-Id: [a1d4df6a-6c80-4478-acab-0c86d2138733] |
57 | X-Runtime: ['0.087499'] | 57 | X-Runtime: ['0.096737'] |
58 | X-XSS-Protection: [1; mode=block] | 58 | X-XSS-Protection: [1; mode=block] |
59 | content-length: ['1279'] | 59 | content-length: ['1279'] |
60 | status: {code: 200, message: OK} | 60 | status: {code: 200, message: OK} |
@@ -67,13 +67,13 @@ interactions: | |||
67 | Connection: [keep-alive] | 67 | Connection: [keep-alive] |
68 | User-Agent: [python-requests/2.18.4] | 68 | User-Agent: [python-requests/2.18.4] |
69 | method: GET | 69 | method: GET |
70 | uri: http://localhost:3000/api/v1/statuses/102945952679207115/favourited_by | 70 | uri: http://localhost:3000/api/v1/statuses/102951425834281121/favourited_by |
71 | response: | 71 | response: |
72 | body: {string: '[{"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":3,"last_status_at":"2019-10-11T21:49:36.798Z","emojis":[],"fields":[]}]'} | 72 | body: {string: '[{"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":3,"last_status_at":"2019-10-12T21:01:30.539Z","emojis":[],"fields":[]}]'} |
73 | headers: | 73 | headers: |
74 | Cache-Control: ['no-cache, no-store'] | 74 | Cache-Control: ['no-cache, no-store'] |
75 | Content-Type: [application/json; charset=utf-8] | 75 | Content-Type: [application/json; charset=utf-8] |
76 | Link: ['<http://localhost:3000/api/v1/statuses/102945952679207115/favourited_by?since_id=29>; | 76 | Link: ['<http://localhost:3000/api/v1/statuses/102951425834281121/favourited_by?since_id=32>; |
77 | rel="prev"'] | 77 | rel="prev"'] |
78 | Referrer-Policy: [strict-origin-when-cross-origin] | 78 | Referrer-Policy: [strict-origin-when-cross-origin] |
79 | Transfer-Encoding: [chunked] | 79 | Transfer-Encoding: [chunked] |
@@ -82,8 +82,8 @@ interactions: | |||
82 | X-Download-Options: [noopen] | 82 | X-Download-Options: [noopen] |
83 | X-Frame-Options: [SAMEORIGIN] | 83 | X-Frame-Options: [SAMEORIGIN] |
84 | X-Permitted-Cross-Domain-Policies: [none] | 84 | X-Permitted-Cross-Domain-Policies: [none] |
85 | X-Request-Id: [7282f955-324a-4fe8-9789-697b4d9492e5] | 85 | X-Request-Id: [f16e70f6-33dd-4082-9d27-3619e2c1dfcc] |
86 | X-Runtime: ['0.028623'] | 86 | X-Runtime: ['0.026649'] |
87 | X-XSS-Protection: [1; mode=block] | 87 | X-XSS-Protection: [1; mode=block] |
88 | content-length: ['614'] | 88 | content-length: ['614'] |
89 | status: {code: 200, message: OK} | 89 | status: {code: 200, message: OK} |
@@ -97,10 +97,10 @@ interactions: | |||
97 | Content-Length: ['0'] | 97 | Content-Length: ['0'] |
98 | User-Agent: [python-requests/2.18.4] | 98 | User-Agent: [python-requests/2.18.4] |
99 | method: DELETE | 99 | method: DELETE |
100 | uri: http://localhost:3000/api/v1/statuses/102945952679207115 | 100 | uri: http://localhost:3000/api/v1/statuses/102951425834281121 |
101 | response: | 101 | response: |
102 | body: {string: '{"id":"102945952679207115","created_at":"2019-10-11T21:49:36.788Z","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/102945952679207115","url":"http://localhost/@mastodonpy_test/102945952679207115","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py | 102 | body: {string: '{"id":"102951425834281121","created_at":"2019-10-12T21:01:30.512Z","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/102951425834281121","url":"http://localhost/@mastodonpy_test/102951425834281121","replies_count":0,"reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py |
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":3,"last_status_at":"2019-10-11T21:49:36.798Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | 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":3,"last_status_at":"2019-10-12T21:01:30.539Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} |
104 | headers: | 104 | headers: |
105 | Cache-Control: ['no-cache, no-store'] | 105 | Cache-Control: ['no-cache, no-store'] |
106 | Content-Type: [application/json; charset=utf-8] | 106 | Content-Type: [application/json; charset=utf-8] |
@@ -111,8 +111,8 @@ interactions: | |||
111 | X-Download-Options: [noopen] | 111 | X-Download-Options: [noopen] |
112 | X-Frame-Options: [SAMEORIGIN] | 112 | X-Frame-Options: [SAMEORIGIN] |
113 | X-Permitted-Cross-Domain-Policies: [none] | 113 | X-Permitted-Cross-Domain-Policies: [none] |
114 | X-Request-Id: [25cf7c8b-9053-457f-a78e-9ad85654a6ea] | 114 | X-Request-Id: [a1ece420-a06f-4d7a-8bca-001e978751ea] |
115 | X-Runtime: ['0.093704'] | 115 | X-Runtime: ['0.088790'] |
116 | X-XSS-Protection: [1; mode=block] | 116 | X-XSS-Protection: [1; mode=block] |
117 | content-length: ['1249'] | 117 | content-length: ['1249'] |
118 | status: {code: 200, message: OK} | 118 | status: {code: 200, message: OK} |