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_notifications.yaml
parentf920f8b58429b5d7dea43442765df824ac04bf91 (diff)
downloadmastodon.py-225c8ca76a8fc6eb2a87a8156b7ce808d3b06507.tar.gz
Fresh batch of test runs
Diffstat (limited to 'tests/cassettes/test_notifications.yaml')
-rw-r--r--tests/cassettes/test_notifications.yaml48
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/cassettes/test_notifications.yaml b/tests/cassettes/test_notifications.yaml
index 15d42e1..8956d1d 100644
--- a/tests/cassettes/test_notifications.yaml
+++ b/tests/cassettes/test_notifications.yaml
@@ -12,11 +12,11 @@ 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":"102315366524646775","created_at":"2019-06-22T13:03:15.665Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315366524646775","url":"http://localhost/@admin/102315366524646775","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan 15 body: {string: '{"id":"102317291016996228","created_at":"2019-06-22T21:12:41.083Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317291016996228","url":"http://localhost/@admin/102317291016996228","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan
16 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url 16 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url
17 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 17 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
18 hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test 18 hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
19 suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} 19 suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":17,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
20 headers: 20 headers:
21 Cache-Control: ['no-cache, no-store'] 21 Cache-Control: ['no-cache, no-store']
22 Content-Type: [application/json; charset=utf-8] 22 Content-Type: [application/json; charset=utf-8]
@@ -27,10 +27,10 @@ interactions:
27 X-Download-Options: [noopen] 27 X-Download-Options: [noopen]
28 X-Frame-Options: [SAMEORIGIN] 28 X-Frame-Options: [SAMEORIGIN]
29 X-Permitted-Cross-Domain-Policies: [none] 29 X-Permitted-Cross-Domain-Policies: [none]
30 X-Request-Id: [10ad4260-300a-4069-81d2-9f76e67e3a06] 30 X-Request-Id: [dc66a95b-5f9e-4ff9-8460-47338fa14d54]
31 X-Runtime: ['0.234936'] 31 X-Runtime: ['0.192275']
32 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
33 content-length: ['1487'] 33 content-length: ['1488']
34 status: {code: 200, message: OK} 34 status: {code: 200, message: OK}
35- request: 35- request:
36 body: null 36 body: null
@@ -43,16 +43,16 @@ interactions:
43 method: GET 43 method: GET
44 uri: http://localhost:3000/api/v1/notifications 44 uri: http://localhost:3000/api/v1/notifications
45 response: 45 response:
46 body: {string: '[{"id":"10","type":"mention","created_at":"2019-06-22T13:03:15.823Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"emojis":[],"fields":[]},"status":{"id":"102315366524646775","created_at":"2019-06-22T13:03:15.665Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315366524646775","url":"http://localhost/@admin/102315366524646775","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003e\u003cspan 46 body: {string: '[{"id":"111","type":"mention","created_at":"2019-06-22T21:12:41.299Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":17,"emojis":[],"fields":[]},"status":{"id":"102317291016996228","created_at":"2019-06-22T21:12:41.083Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317291016996228","url":"http://localhost/@admin/102317291016996228","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003e\u003cspan
47 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url 47 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url
48 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 48 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
49 hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test 49 hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
50 suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}]'} 50 suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":17,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}]'}
51 headers: 51 headers:
52 Cache-Control: ['no-cache, no-store'] 52 Cache-Control: ['no-cache, no-store']
53 Content-Type: [application/json; charset=utf-8] 53 Content-Type: [application/json; charset=utf-8]
54 Link: ['<http://localhost:3000/api/v1/notifications?max_id=10>; rel="next", 54 Link: ['<http://localhost:3000/api/v1/notifications?max_id=111>; rel="next",
55 <http://localhost:3000/api/v1/notifications?min_id=10>; rel="prev"'] 55 <http://localhost:3000/api/v1/notifications?min_id=111>; rel="prev"']
56 Referrer-Policy: [strict-origin-when-cross-origin] 56 Referrer-Policy: [strict-origin-when-cross-origin]
57 Transfer-Encoding: [chunked] 57 Transfer-Encoding: [chunked]
58 Vary: ['Accept-Encoding, Origin'] 58 Vary: ['Accept-Encoding, Origin']
@@ -60,10 +60,10 @@ interactions:
60 X-Download-Options: [noopen] 60 X-Download-Options: [noopen]
61 X-Frame-Options: [SAMEORIGIN] 61 X-Frame-Options: [SAMEORIGIN]
62 X-Permitted-Cross-Domain-Policies: [none] 62 X-Permitted-Cross-Domain-Policies: [none]
63 X-Request-Id: [9452e455-7b91-4781-9b36-6b8100a29134] 63 X-Request-Id: [8425d090-1986-4a66-8209-a586fb44d8aa]
64 X-Runtime: ['0.127142'] 64 X-Runtime: ['0.188802']
65 X-XSS-Protection: [1; mode=block] 65 X-XSS-Protection: [1; mode=block]
66 content-length: ['2086'] 66 content-length: ['2089']
67 status: {code: 200, message: OK} 67 status: {code: 200, message: OK}
68- request: 68- request:
69 body: null 69 body: null
@@ -74,13 +74,13 @@ interactions:
74 Connection: [keep-alive] 74 Connection: [keep-alive]
75 User-Agent: [python-requests/2.18.4] 75 User-Agent: [python-requests/2.18.4]
76 method: GET 76 method: GET
77 uri: http://localhost:3000/api/v1/notifications/10 77 uri: http://localhost:3000/api/v1/notifications/111
78 response: 78 response:
79 body: {string: '{"id":"10","type":"mention","created_at":"2019-06-22T13:03:15.823Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"emojis":[],"fields":[]},"status":{"id":"102315366524646775","created_at":"2019-06-22T13:03:15.665Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315366524646775","url":"http://localhost/@admin/102315366524646775","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003e\u003cspan 79 body: {string: '{"id":"111","type":"mention","created_at":"2019-06-22T21:12:41.299Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":17,"emojis":[],"fields":[]},"status":{"id":"102317291016996228","created_at":"2019-06-22T21:12:41.083Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317291016996228","url":"http://localhost/@admin/102317291016996228","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003e\u003cspan
80 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url 80 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url
81 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 81 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
82 hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test 82 hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
83 suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}'} 83 suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":17,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}'}
84 headers: 84 headers:
85 Cache-Control: ['no-cache, no-store'] 85 Cache-Control: ['no-cache, no-store']
86 Content-Type: [application/json; charset=utf-8] 86 Content-Type: [application/json; charset=utf-8]
@@ -91,10 +91,10 @@ interactions:
91 X-Download-Options: [noopen] 91 X-Download-Options: [noopen]
92 X-Frame-Options: [SAMEORIGIN] 92 X-Frame-Options: [SAMEORIGIN]
93 X-Permitted-Cross-Domain-Policies: [none] 93 X-Permitted-Cross-Domain-Policies: [none]
94 X-Request-Id: [9a6b503b-9a67-4a18-8399-8debff25f9ba] 94 X-Request-Id: [01865241-8559-4e6e-b18e-6fd024f903e9]
95 X-Runtime: ['0.047759'] 95 X-Runtime: ['0.065520']
96 X-XSS-Protection: [1; mode=block] 96 X-XSS-Protection: [1; mode=block]
97 content-length: ['2084'] 97 content-length: ['2087']
98 status: {code: 200, message: OK} 98 status: {code: 200, message: OK}
99- request: 99- request:
100 body: null 100 body: null
@@ -106,10 +106,10 @@ interactions:
106 Content-Length: ['0'] 106 Content-Length: ['0']
107 User-Agent: [python-requests/2.18.4] 107 User-Agent: [python-requests/2.18.4]
108 method: DELETE 108 method: DELETE
109 uri: http://localhost:3000/api/v1/statuses/102315366524646775 109 uri: http://localhost:3000/api/v1/statuses/102317291016996228
110 response: 110 response:
111 body: {string: '{"id":"102315366524646775","created_at":"2019-06-22T13:03:15.665Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315366524646775","url":"http://localhost/@admin/102315366524646775","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"@mastodonpy_test 111 body: {string: '{"id":"102317291016996228","created_at":"2019-06-22T21:12:41.083Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317291016996228","url":"http://localhost/@admin/102317291016996228","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"@mastodonpy_test
112 hello!","reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} 112 hello!","reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":17,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
113 headers: 113 headers:
114 Cache-Control: ['no-cache, no-store'] 114 Cache-Control: ['no-cache, no-store']
115 Content-Type: [application/json; charset=utf-8] 115 Content-Type: [application/json; charset=utf-8]
@@ -120,9 +120,9 @@ interactions:
120 X-Download-Options: [noopen] 120 X-Download-Options: [noopen]
121 X-Frame-Options: [SAMEORIGIN] 121 X-Frame-Options: [SAMEORIGIN]
122 X-Permitted-Cross-Domain-Policies: [none] 122 X-Permitted-Cross-Domain-Policies: [none]
123 X-Request-Id: [d9a41fcd-1f7e-4d37-a022-0c947add7741] 123 X-Request-Id: [42bb7a06-0bcd-4037-89d7-86e203e3300b]
124 X-Runtime: ['0.139183'] 124 X-Runtime: ['0.081948']
125 X-XSS-Protection: [1; mode=block] 125 X-XSS-Protection: [1; mode=block]
126 content-length: ['1280'] 126 content-length: ['1281']
127 status: {code: 200, message: OK} 127 status: {code: 200, message: OK}
128version: 1 128version: 1
Powered by cgit v1.2.3 (git 2.41.0)