diff options
author | Lorenz Diener <[email protected]> | 2018-05-06 03:02:19 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-05-06 03:02:19 +0200 |
commit | bb92f76e61063bbe59868659fb42824d3649c7b2 (patch) | |
tree | 3977c4da17684c323ecb2c0b07f366daa532c6ac /tests/cassettes/test_notifications_dismiss.yaml | |
parent | 3676e43f1198bb0cf57bfd68e5c553d927597a62 (diff) | |
download | mastodon.py-bb92f76e61063bbe59868659fb42824d3649c7b2.tar.gz |
Refresh casettes and add some new ones
Diffstat (limited to 'tests/cassettes/test_notifications_dismiss.yaml')
-rw-r--r-- | tests/cassettes/test_notifications_dismiss.yaml | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/cassettes/test_notifications_dismiss.yaml b/tests/cassettes/test_notifications_dismiss.yaml index 0a2c280..073e7a3 100644 --- a/tests/cassettes/test_notifications_dismiss.yaml +++ b/tests/cassettes/test_notifications_dismiss.yaml | |||
@@ -12,21 +12,21 @@ 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":"99979312781839907","created_at":"2018-05-05T23:34:04.412Z","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/99979312781839907","content":"\u003cp\u003e\u003cspan | 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 |
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/99979312781839907","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/99979649675643299","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":40},"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-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":[]}'} |
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/"6995196309c34e033f12f85e16b89d3e"] | 23 | ETag: [W/"fd25ff8f153af8529a469a19ca1b0727"] |
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: [85c7fc53-c522-413f-b71a-c9b71bc947d6] | 28 | X-Request-Id: [17d56fb4-272e-41a5-b4c3-f30914a51eaa] |
29 | X-Runtime: ['0.406771'] | 29 | X-Runtime: ['0.394489'] |
30 | X-XSS-Protection: [1; mode=block] | 30 | X-XSS-Protection: [1; mode=block] |
31 | content-length: ['1452'] | 31 | content-length: ['1452'] |
32 | status: {code: 200, message: OK} | 32 | status: {code: 200, message: OK} |
@@ -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":"97","type":"mention","created_at":"2018-05-05T23:34:04.528Z","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":39},"status":{"id":"99979312781839907","created_at":"2018-05-05T23:34:04.412Z","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/99979312781839907","content":"\u003cp\u003e\u003cspan | 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 |
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/99979312781839907","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/99979649675643299","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":39},"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-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":[]}}]'} |
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/"dd1dbecab4395c02eb07c21a2db08948"] | 52 | ETag: [W/"48c32a1603d4a1fbc3a842beafb892e5"] |
53 | Link: ['<http://localhost:3000/api/v1/notifications?max_id=97>; rel="next", | 53 | Link: ['<http://localhost:3000/api/v1/notifications?max_id=106>; rel="next", |
54 | <http://localhost:3000/api/v1/notifications?since_id=97>; rel="prev"'] | 54 | <http://localhost:3000/api/v1/notifications?since_id=106>; 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: [ad22c7d0-a745-48ea-b21b-b07c03fc4c21] | 59 | X-Request-Id: [f517bc55-e599-406e-b44c-61b727239864] |
60 | X-Runtime: ['0.115236'] | 60 | X-Runtime: ['0.099063'] |
61 | X-XSS-Protection: [1; mode=block] | 61 | X-XSS-Protection: [1; mode=block] |
62 | content-length: ['2041'] | 62 | content-length: ['2042'] |
63 | status: {code: 200, message: OK} | 63 | status: {code: 200, message: OK} |
64 | - request: | 64 | - request: |
65 | body: id=97 | 65 | body: id=106 |
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: ['5'] | 71 | Content-Length: ['6'] |
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/"fbc368677b02f917bc228fa0e0ab912d"] | 81 | ETag: [W/"3ad4db4e726583801f022c94bb06ffd0"] |
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: [1e9b1eec-72c3-43d3-9433-0afbf8e068b4] | 86 | X-Request-Id: [0ae51208-7e3a-48f1-a151-9c33a70b1636] |
87 | X-Runtime: ['0.044826'] | 87 | X-Runtime: ['0.053700'] |
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/99979312781839907 | 101 | uri: http://localhost:3000/api/v1/statuses/99979649675643299 |
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/"fbc368677b02f917bc228fa0e0ab912d"] | 107 | ETag: [W/"3ad4db4e726583801f022c94bb06ffd0"] |
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: [6e2f0040-d461-490f-b86f-39b1ab259507] | 112 | X-Request-Id: [3c67a50b-ab7e-468c-b7b9-8c2523f81b93] |
113 | X-Runtime: ['0.044006'] | 113 | X-Runtime: ['0.050528'] |
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} |