diff options
Diffstat (limited to 'tests/cassettes/test_stream_user_local.yaml')
-rw-r--r-- | tests/cassettes/test_stream_user_local.yaml | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/tests/cassettes/test_stream_user_local.yaml b/tests/cassettes/test_stream_user_local.yaml index 1bf336f..4081302 100644 --- a/tests/cassettes/test_stream_user_local.yaml +++ b/tests/cassettes/test_stream_user_local.yaml | |||
@@ -10,11 +10,11 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
12 | response: | 12 | response: |
13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","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":67,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} | 13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","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":86,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | 15 | Cache-Control: ['max-age=0, private, must-revalidate'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
17 | ETag: [W/"03333c78c288b92df2ec3c09c0e63037"] | 17 | ETag: [W/"461acccca479fa590f945f2cf8b0ce97"] |
18 | Referrer-Policy: [strict-origin-when-cross-origin] | 18 | Referrer-Policy: [strict-origin-when-cross-origin] |
19 | Transfer-Encoding: [chunked] | 19 | Transfer-Encoding: [chunked] |
20 | Vary: ['Accept-Encoding, Origin'] | 20 | Vary: ['Accept-Encoding, Origin'] |
@@ -22,8 +22,8 @@ interactions: | |||
22 | X-Download-Options: [noopen] | 22 | X-Download-Options: [noopen] |
23 | X-Frame-Options: [SAMEORIGIN] | 23 | X-Frame-Options: [SAMEORIGIN] |
24 | X-Permitted-Cross-Domain-Policies: [none] | 24 | X-Permitted-Cross-Domain-Policies: [none] |
25 | X-Request-Id: [28c6732b-fc30-424a-9a1a-4ac6d030d41e] | 25 | X-Request-Id: [c8038701-afcd-4cca-873b-ef2bb709be36] |
26 | X-Runtime: ['0.021988'] | 26 | X-Runtime: ['0.026800'] |
27 | X-XSS-Protection: [1; mode=block] | 27 | X-XSS-Protection: [1; mode=block] |
28 | content-length: ['635'] | 28 | content-length: ['635'] |
29 | status: {code: 200, message: OK} | 29 | status: {code: 200, message: OK} |
@@ -43,7 +43,7 @@ interactions: | |||
43 | headers: | 43 | headers: |
44 | Cache-Control: ['max-age=0, private, must-revalidate'] | 44 | Cache-Control: ['max-age=0, private, must-revalidate'] |
45 | Content-Type: [application/json; charset=utf-8] | 45 | Content-Type: [application/json; charset=utf-8] |
46 | ETag: [W/"76bfa2cb470ebb17bc806ed95cf15079"] | 46 | ETag: [W/"e2069723e40fa83e206d55b6e8206f3d"] |
47 | Referrer-Policy: [strict-origin-when-cross-origin] | 47 | Referrer-Policy: [strict-origin-when-cross-origin] |
48 | Transfer-Encoding: [chunked] | 48 | Transfer-Encoding: [chunked] |
49 | Vary: ['Accept-Encoding, Origin'] | 49 | Vary: ['Accept-Encoding, Origin'] |
@@ -51,8 +51,8 @@ interactions: | |||
51 | X-Download-Options: [noopen] | 51 | X-Download-Options: [noopen] |
52 | X-Frame-Options: [SAMEORIGIN] | 52 | X-Frame-Options: [SAMEORIGIN] |
53 | X-Permitted-Cross-Domain-Policies: [none] | 53 | X-Permitted-Cross-Domain-Policies: [none] |
54 | X-Request-Id: [ac32e90b-fdf7-432e-9f1b-0fd1fe8c225a] | 54 | X-Request-Id: [52549b35-dae4-4220-8d1c-e5837784d2be] |
55 | X-Runtime: ['0.033365'] | 55 | X-Runtime: ['0.034051'] |
56 | X-XSS-Protection: [1; mode=block] | 56 | X-XSS-Protection: [1; mode=block] |
57 | content-length: ['175'] | 57 | content-length: ['175'] |
58 | status: {code: 200, message: OK} | 58 | status: {code: 200, message: OK} |
@@ -67,11 +67,11 @@ interactions: | |||
67 | method: GET | 67 | method: GET |
68 | uri: http://localhost:3000/api/v1/instance/ | 68 | uri: http://localhost:3000/api/v1/instance/ |
69 | response: | 69 | response: |
70 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":156,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} | 70 | body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":199,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} |
71 | headers: | 71 | headers: |
72 | Cache-Control: ['max-age=0, private, must-revalidate'] | 72 | Cache-Control: ['max-age=0, private, must-revalidate'] |
73 | Content-Type: [application/json; charset=utf-8] | 73 | Content-Type: [application/json; charset=utf-8] |
74 | ETag: [W/"0ef6046fadfce7bfce51a5c2b0ce3538"] | 74 | ETag: [W/"d3992af6131c61a220419ab4ee068e7e"] |
75 | Referrer-Policy: [strict-origin-when-cross-origin] | 75 | Referrer-Policy: [strict-origin-when-cross-origin] |
76 | Transfer-Encoding: [chunked] | 76 | Transfer-Encoding: [chunked] |
77 | Vary: ['Accept-Encoding, Origin'] | 77 | Vary: ['Accept-Encoding, Origin'] |
@@ -79,8 +79,8 @@ interactions: | |||
79 | X-Download-Options: [noopen] | 79 | X-Download-Options: [noopen] |
80 | X-Frame-Options: [SAMEORIGIN] | 80 | X-Frame-Options: [SAMEORIGIN] |
81 | X-Permitted-Cross-Domain-Policies: [none] | 81 | X-Permitted-Cross-Domain-Policies: [none] |
82 | X-Request-Id: [01c1b942-f38e-4df5-94b1-3fc33536c1c2] | 82 | X-Request-Id: [b4e0366d-ef11-4c7b-a417-5754e5e4627f] |
83 | X-Runtime: ['0.024253'] | 83 | X-Runtime: ['0.044058'] |
84 | X-XSS-Protection: [1; mode=block] | 84 | X-XSS-Protection: [1; mode=block] |
85 | content-length: ['293'] | 85 | content-length: ['293'] |
86 | status: {code: 200, message: OK} | 86 | status: {code: 200, message: OK} |
@@ -97,15 +97,15 @@ interactions: | |||
97 | method: POST | 97 | method: POST |
98 | uri: http://localhost:3000/api/v1/statuses | 98 | uri: http://localhost:3000/api/v1/statuses |
99 | response: | 99 | response: |
100 | body: {string: '{"id":"100369878639416248","created_at":"2018-07-13T23:00:06.400Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369878639416248","content":"\u003cp\u003eit\u0026apos;s | 100 | body: {string: '{"id":"100465735355867158","created_at":"2018-07-30T21:17:43.820Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465735355867158","content":"\u003cp\u003eit\u0026apos;s |
101 | cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369878639416248","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 101 | cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465735355867158","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
102 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 102 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
103 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 103 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
104 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":90,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 104 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":114,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
105 | headers: | 105 | headers: |
106 | Cache-Control: ['max-age=0, private, must-revalidate'] | 106 | Cache-Control: ['max-age=0, private, must-revalidate'] |
107 | Content-Type: [application/json; charset=utf-8] | 107 | Content-Type: [application/json; charset=utf-8] |
108 | ETag: [W/"db59416f04b8028a25293d6ca1cf10da"] | 108 | ETag: [W/"f945ad0f976a195a4e2ebf8b0d786374"] |
109 | Referrer-Policy: [strict-origin-when-cross-origin] | 109 | Referrer-Policy: [strict-origin-when-cross-origin] |
110 | Transfer-Encoding: [chunked] | 110 | Transfer-Encoding: [chunked] |
111 | Vary: ['Accept-Encoding, Origin'] | 111 | Vary: ['Accept-Encoding, Origin'] |
@@ -113,10 +113,10 @@ interactions: | |||
113 | X-Download-Options: [noopen] | 113 | X-Download-Options: [noopen] |
114 | X-Frame-Options: [SAMEORIGIN] | 114 | X-Frame-Options: [SAMEORIGIN] |
115 | X-Permitted-Cross-Domain-Policies: [none] | 115 | X-Permitted-Cross-Domain-Policies: [none] |
116 | X-Request-Id: [9431555a-f3a7-4efd-9b6a-49a4480a79d4] | 116 | X-Request-Id: [7b1a4e11-f488-4249-bdfb-c3243912d06e] |
117 | X-Runtime: ['0.156942'] | 117 | X-Runtime: ['0.184139'] |
118 | X-XSS-Protection: [1; mode=block] | 118 | X-XSS-Protection: [1; mode=block] |
119 | content-length: ['1527'] | 119 | content-length: ['1528'] |
120 | status: {code: 200, message: OK} | 120 | status: {code: 200, message: OK} |
121 | - request: | 121 | - request: |
122 | body: null | 122 | body: null |
@@ -131,11 +131,11 @@ interactions: | |||
131 | response: | 131 | response: |
132 | body: {string: 'event: update | 132 | body: {string: 'event: update |
133 | 133 | ||
134 | data: {"id":"100369878639416248","created_at":"2018-07-13T23:00:06.400Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369878639416248","content":"<p>it's | 134 | data: {"id":"100465735355867158","created_at":"2018-07-30T21:17:43.820Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465735355867158","content":"<p>it's |
135 | cool guy</p>","url":"http://localhost:3000/@mastodonpy_test/100369878639416248","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 135 | cool guy</p>","url":"http://localhost:3000/@mastodonpy_test/100465735355867158","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
136 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 136 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
137 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"<p>I | 137 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"<p>I |
138 | walk funny</p>","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":90,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]} | 138 | walk funny</p>","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":114,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]} |
139 | 139 | ||
140 | 140 | ||
141 | :'} | 141 | :'} |
@@ -145,9 +145,9 @@ interactions: | |||
145 | Access-Control-Allow-Origin: ['*'] | 145 | Access-Control-Allow-Origin: ['*'] |
146 | Connection: [keep-alive] | 146 | Connection: [keep-alive] |
147 | Content-Type: [text/event-stream] | 147 | Content-Type: [text/event-stream] |
148 | Date: ['Fri, 13 Jul 2018 23:00:06 GMT'] | 148 | Date: ['Mon, 30 Jul 2018 21:17:44 GMT'] |
149 | Transfer-Encoding: [chunked] | 149 | Transfer-Encoding: [chunked] |
150 | X-Powered-By: [Express] | 150 | X-Powered-By: [Express] |
151 | X-Request-Id: [ed221dae-6d7b-47ee-9d80-a925a7a9d358] | 151 | X-Request-Id: [a4748999-b365-4c8c-8d61-5ce919b5934d] |
152 | status: {code: 200, message: OK} | 152 | status: {code: 200, message: OK} |
153 | version: 1 | 153 | version: 1 |