diff options
author | Lorenz Diener <[email protected]> | 2018-07-30 23:19:51 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-07-30 23:19:51 +0200 |
commit | d0c71b1a8497a3047f630cd1926f803a5190d7aa (patch) | |
tree | f52a76a1160e768de4519e31548a5d1cb1c29c6f /tests/cassettes/test_status_pin_unpin.yaml | |
parent | 8b06b53ed50e41411857181e4881e54823ed661b (diff) | |
download | mastodon.py-d0c71b1a8497a3047f630cd1926f803a5190d7aa.tar.gz |
Fresh set of tests pre-release
Diffstat (limited to 'tests/cassettes/test_status_pin_unpin.yaml')
-rw-r--r-- | tests/cassettes/test_status_pin_unpin.yaml | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/cassettes/test_status_pin_unpin.yaml b/tests/cassettes/test_status_pin_unpin.yaml index ceaadbb..5c326bf 100644 --- a/tests/cassettes/test_status_pin_unpin.yaml +++ b/tests/cassettes/test_status_pin_unpin.yaml | |||
@@ -12,14 +12,14 @@ 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":"100369510212665854","created_at":"2018-07-13T21:26:24.668Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369510212665854","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369510212665854","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 15 | body: {string: '{"id":"100465732393348413","created_at":"2018-07-30T21:16:58.626Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465732393348413","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465732393348413","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"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":"John |
17 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 17 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
18 | 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":59,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 18 | 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":[]}'} |
19 | headers: | 19 | headers: |
20 | Cache-Control: ['max-age=0, private, must-revalidate'] | 20 | Cache-Control: ['max-age=0, private, must-revalidate'] |
21 | Content-Type: [application/json; charset=utf-8] | 21 | Content-Type: [application/json; charset=utf-8] |
22 | ETag: [W/"3de284acec8d32ee3cce5e764a40cb51"] | 22 | ETag: [W/"4696c829ee0e7cda0913ff8531d7c740"] |
23 | Referrer-Policy: [strict-origin-when-cross-origin] | 23 | Referrer-Policy: [strict-origin-when-cross-origin] |
24 | Transfer-Encoding: [chunked] | 24 | Transfer-Encoding: [chunked] |
25 | Vary: ['Accept-Encoding, Origin'] | 25 | Vary: ['Accept-Encoding, Origin'] |
@@ -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: [777f0df0-ba5e-4d47-bbf2-f0d7464ea431] | 30 | X-Request-Id: [ddca8f67-b251-4bdf-bb55-ddb94b136839] |
31 | X-Runtime: ['0.171448'] | 31 | X-Runtime: ['0.203148'] |
32 | X-XSS-Protection: [1; mode=block] | 32 | X-XSS-Protection: [1; mode=block] |
33 | content-length: ['1509'] | 33 | content-length: ['1510'] |
34 | status: {code: 200, message: OK} | 34 | status: {code: 200, message: OK} |
35 | - request: | 35 | - request: |
36 | body: null | 36 | body: null |
@@ -42,16 +42,16 @@ interactions: | |||
42 | Content-Length: ['0'] | 42 | Content-Length: ['0'] |
43 | User-Agent: [python-requests/2.18.4] | 43 | User-Agent: [python-requests/2.18.4] |
44 | method: POST | 44 | method: POST |
45 | uri: http://localhost:3000/api/v1/statuses/100369510212665854/pin | 45 | uri: http://localhost:3000/api/v1/statuses/100465732393348413/pin |
46 | response: | 46 | response: |
47 | body: {string: '{"id":"100369510212665854","created_at":"2018-07-13T21:26:24.668Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369510212665854","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369510212665854","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py | 47 | body: {string: '{"id":"100465732393348413","created_at":"2018-07-30T21:16:58.626Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465732393348413","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465732393348413","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py |
48 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 48 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
49 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 49 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
50 | 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":59,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 50 | 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":[]}'} |
51 | headers: | 51 | headers: |
52 | Cache-Control: ['max-age=0, private, must-revalidate'] | 52 | Cache-Control: ['max-age=0, private, must-revalidate'] |
53 | Content-Type: [application/json; charset=utf-8] | 53 | Content-Type: [application/json; charset=utf-8] |
54 | ETag: [W/"9a2ea483373fa81b2c7d61fed267218d"] | 54 | ETag: [W/"b959b8adc3bc13eda831087e3cc93a89"] |
55 | Referrer-Policy: [strict-origin-when-cross-origin] | 55 | Referrer-Policy: [strict-origin-when-cross-origin] |
56 | Transfer-Encoding: [chunked] | 56 | Transfer-Encoding: [chunked] |
57 | Vary: ['Accept-Encoding, Origin'] | 57 | Vary: ['Accept-Encoding, Origin'] |
@@ -59,10 +59,10 @@ interactions: | |||
59 | X-Download-Options: [noopen] | 59 | X-Download-Options: [noopen] |
60 | X-Frame-Options: [SAMEORIGIN] | 60 | X-Frame-Options: [SAMEORIGIN] |
61 | X-Permitted-Cross-Domain-Policies: [none] | 61 | X-Permitted-Cross-Domain-Policies: [none] |
62 | X-Request-Id: [a66d5aa8-ef51-4f47-af64-373259e905db] | 62 | X-Request-Id: [187abbf2-ee34-4e80-b0b3-ed5d57dd4a16] |
63 | X-Runtime: ['0.142087'] | 63 | X-Runtime: ['0.087711'] |
64 | X-XSS-Protection: [1; mode=block] | 64 | X-XSS-Protection: [1; mode=block] |
65 | content-length: ['1508'] | 65 | content-length: ['1509'] |
66 | status: {code: 200, message: OK} | 66 | status: {code: 200, message: OK} |
67 | - request: | 67 | - request: |
68 | body: null | 68 | body: null |
@@ -74,16 +74,16 @@ interactions: | |||
74 | Content-Length: ['0'] | 74 | Content-Length: ['0'] |
75 | User-Agent: [python-requests/2.18.4] | 75 | User-Agent: [python-requests/2.18.4] |
76 | method: POST | 76 | method: POST |
77 | uri: http://localhost:3000/api/v1/statuses/100369510212665854/unpin | 77 | uri: http://localhost:3000/api/v1/statuses/100465732393348413/unpin |
78 | response: | 78 | response: |
79 | body: {string: '{"id":"100369510212665854","created_at":"2018-07-13T21:26:24.668Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369510212665854","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369510212665854","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 79 | body: {string: '{"id":"100465732393348413","created_at":"2018-07-30T21:16:58.626Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465732393348413","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465732393348413","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
80 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 80 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
81 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 81 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
82 | 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":59,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 82 | 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":[]}'} |
83 | headers: | 83 | headers: |
84 | Cache-Control: ['max-age=0, private, must-revalidate'] | 84 | Cache-Control: ['max-age=0, private, must-revalidate'] |
85 | Content-Type: [application/json; charset=utf-8] | 85 | Content-Type: [application/json; charset=utf-8] |
86 | ETag: [W/"9367761fbbda0a7d041e9512d2402afe"] | 86 | ETag: [W/"4696c829ee0e7cda0913ff8531d7c740"] |
87 | Referrer-Policy: [strict-origin-when-cross-origin] | 87 | Referrer-Policy: [strict-origin-when-cross-origin] |
88 | Transfer-Encoding: [chunked] | 88 | Transfer-Encoding: [chunked] |
89 | Vary: ['Accept-Encoding, Origin'] | 89 | Vary: ['Accept-Encoding, Origin'] |
@@ -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: [4a2d72d4-0988-41d6-b222-b7308fc31007] | 94 | X-Request-Id: [2d7dfa08-9909-427b-ab49-43384c5051d1] |
95 | X-Runtime: ['0.094331'] | 95 | X-Runtime: ['0.071399'] |
96 | X-XSS-Protection: [1; mode=block] | 96 | X-XSS-Protection: [1; mode=block] |
97 | content-length: ['1509'] | 97 | content-length: ['1510'] |
98 | status: {code: 200, message: OK} | 98 | status: {code: 200, message: OK} |
99 | - request: | 99 | - request: |
100 | body: null | 100 | body: null |
@@ -106,13 +106,13 @@ 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/100369510212665854 | 109 | uri: http://localhost:3000/api/v1/statuses/100465732393348413 |
110 | response: | 110 | response: |
111 | body: {string: '{}'} | 111 | body: {string: '{}'} |
112 | headers: | 112 | headers: |
113 | Cache-Control: ['max-age=0, private, must-revalidate'] | 113 | Cache-Control: ['max-age=0, private, must-revalidate'] |
114 | Content-Type: [application/json; charset=utf-8] | 114 | Content-Type: [application/json; charset=utf-8] |
115 | ETag: [W/"14f60fbc7d0a694b3fad874834916ce4"] | 115 | ETag: [W/"dc7988ae7752384563d1585eda0c4d13"] |
116 | Referrer-Policy: [strict-origin-when-cross-origin] | 116 | Referrer-Policy: [strict-origin-when-cross-origin] |
117 | Transfer-Encoding: [chunked] | 117 | Transfer-Encoding: [chunked] |
118 | Vary: ['Accept-Encoding, Origin'] | 118 | Vary: ['Accept-Encoding, Origin'] |
@@ -120,8 +120,8 @@ 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: [6e31ebaf-611c-4f98-a0f1-7e47a9cfe1c0] | 123 | X-Request-Id: [ee3ce238-4e9e-4eb2-9f8d-37909e2c0ba1] |
124 | X-Runtime: ['0.029916'] | 124 | X-Runtime: ['0.035683'] |
125 | X-XSS-Protection: [1; mode=block] | 125 | X-XSS-Protection: [1; mode=block] |
126 | content-length: ['2'] | 126 | content-length: ['2'] |
127 | status: {code: 200, message: OK} | 127 | status: {code: 200, message: OK} |