diff options
Diffstat (limited to 'tests/cassettes/test_notifications_dismiss.yaml')
-rw-r--r-- | tests/cassettes/test_notifications_dismiss.yaml | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/tests/cassettes/test_notifications_dismiss.yaml b/tests/cassettes/test_notifications_dismiss.yaml index 073e7a3..c10a955 100644 --- a/tests/cassettes/test_notifications_dismiss.yaml +++ b/tests/cassettes/test_notifications_dismiss.yaml | |||
@@ -12,23 +12,23 @@ 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":"99979649675643299","created_at":"2018-05-06T00:59:45.004Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/99979649675643299","content":"\u003cp\u003e\u003cspan | 15 | body: {string: '{"id":"99984771189168164","created_at":"2018-05-06T22:42:13.099Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/99984771189168164","content":"\u003cp\u003e\u003cspan |
16 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | 16 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" |
17 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 17 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
18 | hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/99979649675643299","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 18 | hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/99984771189168164","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
19 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":48},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'} | 19 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'} |
20 | headers: | 20 | headers: |
21 | Cache-Control: ['max-age=0, private, must-revalidate'] | 21 | Cache-Control: ['max-age=0, private, must-revalidate'] |
22 | Content-Type: [application/json; charset=utf-8] | 22 | Content-Type: [application/json; charset=utf-8] |
23 | ETag: [W/"fd25ff8f153af8529a469a19ca1b0727"] | 23 | ETag: [W/"59d412b11784743848e931d6d46bb2f2"] |
24 | Transfer-Encoding: [chunked] | 24 | Transfer-Encoding: [chunked] |
25 | Vary: ['Accept-Encoding, Origin'] | 25 | Vary: ['Accept-Encoding, Origin'] |
26 | X-Content-Type-Options: [nosniff] | 26 | X-Content-Type-Options: [nosniff] |
27 | X-Frame-Options: [SAMEORIGIN] | 27 | X-Frame-Options: [SAMEORIGIN] |
28 | X-Request-Id: [17d56fb4-272e-41a5-b4c3-f30914a51eaa] | 28 | X-Request-Id: [103aca56-6f68-465d-a2e9-364cbafa4080] |
29 | X-Runtime: ['0.394489'] | 29 | X-Runtime: ['0.345908'] |
30 | X-XSS-Protection: [1; mode=block] | 30 | X-XSS-Protection: [1; mode=block] |
31 | content-length: ['1452'] | 31 | content-length: ['1451'] |
32 | status: {code: 200, message: OK} | 32 | status: {code: 200, message: OK} |
33 | - request: | 33 | - request: |
34 | body: null | 34 | body: null |
@@ -41,34 +41,34 @@ interactions: | |||
41 | method: GET | 41 | method: GET |
42 | uri: http://localhost:3000/api/v1/notifications | 42 | uri: http://localhost:3000/api/v1/notifications |
43 | response: | 43 | response: |
44 | body: {string: '[{"id":"106","type":"mention","created_at":"2018-05-06T00:59:45.105Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":47},"status":{"id":"99979649675643299","created_at":"2018-05-06T00:59:45.004Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/99979649675643299","content":"\u003cp\u003e\u003cspan | 44 | body: {string: '[{"id":"18","type":"mention","created_at":"2018-05-06T22:42:13.193Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":5},"status":{"id":"99984771189168164","created_at":"2018-05-06T22:42:13.099Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/99984771189168164","content":"\u003cp\u003e\u003cspan |
45 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | 45 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" |
46 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 46 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
47 | hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/99979649675643299","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py | 47 | hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/99984771189168164","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py |
48 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":47},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}}]'} | 48 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":5},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"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/"48c32a1603d4a1fbc3a842beafb892e5"] | 52 | ETag: [W/"50302a98f877fec5db13cff1203a99f0"] |
53 | Link: ['<http://localhost:3000/api/v1/notifications?max_id=106>; rel="next", | 53 | Link: ['<http://localhost:3000/api/v1/notifications?max_id=18>; rel="next", |
54 | <http://localhost:3000/api/v1/notifications?since_id=106>; rel="prev"'] | 54 | <http://localhost:3000/api/v1/notifications?since_id=18>; rel="prev"'] |
55 | Transfer-Encoding: [chunked] | 55 | Transfer-Encoding: [chunked] |
56 | Vary: ['Accept-Encoding, Origin'] | 56 | Vary: ['Accept-Encoding, Origin'] |
57 | X-Content-Type-Options: [nosniff] | 57 | X-Content-Type-Options: [nosniff] |
58 | X-Frame-Options: [SAMEORIGIN] | 58 | X-Frame-Options: [SAMEORIGIN] |
59 | X-Request-Id: [f517bc55-e599-406e-b44c-61b727239864] | 59 | X-Request-Id: [a2fcd75a-9310-4648-b56f-4e81be18ee08] |
60 | X-Runtime: ['0.099063'] | 60 | X-Runtime: ['0.253898'] |
61 | X-XSS-Protection: [1; mode=block] | 61 | X-XSS-Protection: [1; mode=block] |
62 | content-length: ['2042'] | 62 | content-length: ['2039'] |
63 | status: {code: 200, message: OK} | 63 | status: {code: 200, message: OK} |
64 | - request: | 64 | - request: |
65 | body: id=106 | 65 | body: id=18 |
66 | headers: | 66 | headers: |
67 | Accept: ['*/*'] | 67 | Accept: ['*/*'] |
68 | Accept-Encoding: ['gzip, deflate'] | 68 | Accept-Encoding: ['gzip, deflate'] |
69 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 69 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
70 | Connection: [keep-alive] | 70 | Connection: [keep-alive] |
71 | Content-Length: ['6'] | 71 | Content-Length: ['5'] |
72 | Content-Type: [application/x-www-form-urlencoded] | 72 | Content-Type: [application/x-www-form-urlencoded] |
73 | User-Agent: [python-requests/2.9.1] | 73 | User-Agent: [python-requests/2.9.1] |
74 | method: POST | 74 | method: POST |
@@ -78,13 +78,13 @@ interactions: | |||
78 | headers: | 78 | headers: |
79 | Cache-Control: ['max-age=0, private, must-revalidate'] | 79 | Cache-Control: ['max-age=0, private, must-revalidate'] |
80 | Content-Type: [application/json; charset=utf-8] | 80 | Content-Type: [application/json; charset=utf-8] |
81 | ETag: [W/"3ad4db4e726583801f022c94bb06ffd0"] | 81 | ETag: [W/"e1485e56daf0fcfe010cb4684a2b1ced"] |
82 | Transfer-Encoding: [chunked] | 82 | Transfer-Encoding: [chunked] |
83 | Vary: ['Accept-Encoding, Origin'] | 83 | Vary: ['Accept-Encoding, Origin'] |
84 | X-Content-Type-Options: [nosniff] | 84 | X-Content-Type-Options: [nosniff] |
85 | X-Frame-Options: [SAMEORIGIN] | 85 | X-Frame-Options: [SAMEORIGIN] |
86 | X-Request-Id: [0ae51208-7e3a-48f1-a151-9c33a70b1636] | 86 | X-Request-Id: [2b4bbda5-a098-4420-9600-8dfb63133af6] |
87 | X-Runtime: ['0.053700'] | 87 | X-Runtime: ['0.052754'] |
88 | X-XSS-Protection: [1; mode=block] | 88 | X-XSS-Protection: [1; mode=block] |
89 | content-length: ['2'] | 89 | content-length: ['2'] |
90 | status: {code: 200, message: OK} | 90 | status: {code: 200, message: OK} |
@@ -98,19 +98,19 @@ interactions: | |||
98 | Content-Length: ['0'] | 98 | Content-Length: ['0'] |
99 | User-Agent: [python-requests/2.9.1] | 99 | User-Agent: [python-requests/2.9.1] |
100 | method: DELETE | 100 | method: DELETE |
101 | uri: http://localhost:3000/api/v1/statuses/99979649675643299 | 101 | uri: http://localhost:3000/api/v1/statuses/99984771189168164 |
102 | response: | 102 | response: |
103 | body: {string: '{}'} | 103 | body: {string: '{}'} |
104 | headers: | 104 | headers: |
105 | Cache-Control: ['max-age=0, private, must-revalidate'] | 105 | Cache-Control: ['max-age=0, private, must-revalidate'] |
106 | Content-Type: [application/json; charset=utf-8] | 106 | Content-Type: [application/json; charset=utf-8] |
107 | ETag: [W/"3ad4db4e726583801f022c94bb06ffd0"] | 107 | ETag: [W/"e1485e56daf0fcfe010cb4684a2b1ced"] |
108 | Transfer-Encoding: [chunked] | 108 | Transfer-Encoding: [chunked] |
109 | Vary: ['Accept-Encoding, Origin'] | 109 | Vary: ['Accept-Encoding, Origin'] |
110 | X-Content-Type-Options: [nosniff] | 110 | X-Content-Type-Options: [nosniff] |
111 | X-Frame-Options: [SAMEORIGIN] | 111 | X-Frame-Options: [SAMEORIGIN] |
112 | X-Request-Id: [3c67a50b-ab7e-468c-b7b9-8c2523f81b93] | 112 | X-Request-Id: [3c771449-40e0-4f0a-b683-a153e43ba11e] |
113 | X-Runtime: ['0.050528'] | 113 | X-Runtime: ['0.052795'] |
114 | X-XSS-Protection: [1; mode=block] | 114 | X-XSS-Protection: [1; mode=block] |
115 | content-length: ['2'] | 115 | content-length: ['2'] |
116 | status: {code: 200, message: OK} | 116 | status: {code: 200, message: OK} |