diff options
Diffstat (limited to 'tests/cassettes/test_status_mute_unmute.yaml')
-rw-r--r-- | tests/cassettes/test_status_mute_unmute.yaml | 54 |
1 files changed, 23 insertions, 31 deletions
diff --git a/tests/cassettes/test_status_mute_unmute.yaml b/tests/cassettes/test_status_mute_unmute.yaml index 84c740f..8c3c623 100644 --- a/tests/cassettes/test_status_mute_unmute.yaml +++ b/tests/cassettes/test_status_mute_unmute.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":"102315368942184388","created_at":"2019-06-22T13:03:52.549Z","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/102315368942184388","url":"http://localhost/@mastodonpy_test/102315368942184388","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":"102317293435536466","created_at":"2019-06-22T21:13:17.984Z","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/102317293435536466","url":"http://localhost/@mastodonpy_test/102317293435536466","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: [489d4064-a286-4ee3-b0c0-17d1a3a03cc8] | 27 | X-Request-Id: [9c7679aa-391f-44d7-8954-87711bc62c7a] |
30 | X-Runtime: ['0.181733'] | 28 | X-Runtime: ['0.131667'] |
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/102315368942184388/mute | 42 | uri: http://localhost:3000/api/v1/statuses/102317293435536466/mute |
45 | response: | 43 | response: |
46 | body: {string: '{"id":"102315368942184388","created_at":"2019-06-22T13:03:52.549Z","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/102315368942184388","url":"http://localhost/@mastodonpy_test/102315368942184388","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":true,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | 44 | body: {string: '{"id":"102317293435536466","created_at":"2019-06-22T21:13:17.984Z","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/102317293435536466","url":"http://localhost/@mastodonpy_test/102317293435536466","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":true,"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: [a155c7d7-bf59-4087-a378-633970e01bb7] | 56 | X-Request-Id: [f5df5179-641c-4ffe-8d11-f759a592f962] |
61 | X-Runtime: ['0.064815'] | 57 | X-Runtime: ['0.097630'] |
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/102315368942184388/unmute | 71 | uri: http://localhost:3000/api/v1/statuses/102317293435536466/unmute |
76 | response: | 72 | response: |
77 | body: {string: '{"id":"102315368942184388","created_at":"2019-06-22T13:03:52.549Z","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/102315368942184388","url":"http://localhost/@mastodonpy_test/102315368942184388","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 | 73 | body: {string: '{"id":"102317293435536466","created_at":"2019-06-22T21:13:17.984Z","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/102317293435536466","url":"http://localhost/@mastodonpy_test/102317293435536466","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 |
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: [4ea9f10f-6380-4d22-8bbf-670eb8c08f85] | 85 | X-Request-Id: [72c51a26-753f-435b-9871-6a4e1bc9b09c] |
92 | X-Runtime: ['0.048262'] | 86 | X-Runtime: ['0.047464'] |
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/102315368942184388 | 100 | uri: http://localhost:3000/api/v1/statuses/102317293435536466 |
107 | response: | 101 | response: |
108 | body: {string: '{"id":"102315368942184388","created_at":"2019-06-22T13:03:52.549Z","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/102315368942184388","url":"http://localhost/@mastodonpy_test/102315368942184388","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":"102317293435536466","created_at":"2019-06-22T21:13:17.984Z","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/102317293435536466","url":"http://localhost/@mastodonpy_test/102317293435536466","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: [4987594a-ab00-4116-8462-089a805b096b] | 114 | X-Request-Id: [97041fc0-f8fb-44d7-910a-59cdb92d0064] |
123 | X-Runtime: ['0.086085'] | 115 | X-Runtime: ['0.073756'] |
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} |
127 | version: 1 | 119 | version: 1 |