aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-07-30 23:19:51 +0200
committerLorenz Diener <[email protected]>2018-07-30 23:19:51 +0200
commitd0c71b1a8497a3047f630cd1926f803a5190d7aa (patch)
treef52a76a1160e768de4519e31548a5d1cb1c29c6f /tests/cassettes/test_status_context.yaml
parent8b06b53ed50e41411857181e4881e54823ed661b (diff)
downloadmastodon.py-d0c71b1a8497a3047f630cd1926f803a5190d7aa.tar.gz
Fresh set of tests pre-release
Diffstat (limited to 'tests/cassettes/test_status_context.yaml')
-rw-r--r--tests/cassettes/test_status_context.yaml28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/cassettes/test_status_context.yaml b/tests/cassettes/test_status_context.yaml
index 809b239..75ed01d 100644
--- a/tests/cassettes/test_status_context.yaml
+++ b/tests/cassettes/test_status_context.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":"100369509757963192","created_at":"2018-07-13T21:26:17.719Z","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/100369509757963192","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369509757963192","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"100465731887481281","created_at":"2018-07-30T21:16:50.899Z","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/100465731887481281","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465731887481281","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":53,"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":111,"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/"09644d7adc155676f828d158dec4c0a1"] 22 ETag: [W/"602a60a6eeb024d62ae97bedf934ee56"]
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: [281c9cce-570a-4fa8-b52f-2fdd7b00bcdf] 30 X-Request-Id: [d4f34d4d-137c-4d83-a2cc-cd1a1a496859]
31 X-Runtime: ['0.234531'] 31 X-Runtime: ['0.214715']
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
@@ -41,13 +41,13 @@ interactions:
41 Connection: [keep-alive] 41 Connection: [keep-alive]
42 User-Agent: [python-requests/2.18.4] 42 User-Agent: [python-requests/2.18.4]
43 method: GET 43 method: GET
44 uri: http://localhost:3000/api/v1/statuses/100369509757963192/context 44 uri: http://localhost:3000/api/v1/statuses/100465731887481281/context
45 response: 45 response:
46 body: {string: '{"ancestors":[],"descendants":[]}'} 46 body: {string: '{"ancestors":[],"descendants":[]}'}
47 headers: 47 headers:
48 Cache-Control: ['max-age=0, private, must-revalidate'] 48 Cache-Control: ['max-age=0, private, must-revalidate']
49 Content-Type: [application/json; charset=utf-8] 49 Content-Type: [application/json; charset=utf-8]
50 ETag: [W/"f60da0fe26e398b5711f59b960386935"] 50 ETag: [W/"99694157158763d2e4bd87f8b65d9fb6"]
51 Referrer-Policy: [strict-origin-when-cross-origin] 51 Referrer-Policy: [strict-origin-when-cross-origin]
52 Transfer-Encoding: [chunked] 52 Transfer-Encoding: [chunked]
53 Vary: ['Accept-Encoding, Origin'] 53 Vary: ['Accept-Encoding, Origin']
@@ -55,8 +55,8 @@ interactions:
55 X-Download-Options: [noopen] 55 X-Download-Options: [noopen]
56 X-Frame-Options: [SAMEORIGIN] 56 X-Frame-Options: [SAMEORIGIN]
57 X-Permitted-Cross-Domain-Policies: [none] 57 X-Permitted-Cross-Domain-Policies: [none]
58 X-Request-Id: [234cc7ba-e087-4fcf-a436-f623ad1269e5] 58 X-Request-Id: [67c360ce-0c2a-4f30-8b95-4f1080682626]
59 X-Runtime: ['0.091313'] 59 X-Runtime: ['0.065622']
60 X-XSS-Protection: [1; mode=block] 60 X-XSS-Protection: [1; mode=block]
61 content-length: ['33'] 61 content-length: ['33']
62 status: {code: 200, message: OK} 62 status: {code: 200, message: OK}
@@ -70,13 +70,13 @@ interactions:
70 Content-Length: ['0'] 70 Content-Length: ['0']
71 User-Agent: [python-requests/2.18.4] 71 User-Agent: [python-requests/2.18.4]
72 method: DELETE 72 method: DELETE
73 uri: http://localhost:3000/api/v1/statuses/100369509757963192 73 uri: http://localhost:3000/api/v1/statuses/100465731887481281
74 response: 74 response:
75 body: {string: '{}'} 75 body: {string: '{}'}
76 headers: 76 headers:
77 Cache-Control: ['max-age=0, private, must-revalidate'] 77 Cache-Control: ['max-age=0, private, must-revalidate']
78 Content-Type: [application/json; charset=utf-8] 78 Content-Type: [application/json; charset=utf-8]
79 ETag: [W/"f93d5ec887e94da389aca642e8189421"] 79 ETag: [W/"11f36da11a2a5a83381b00315584d53d"]
80 Referrer-Policy: [strict-origin-when-cross-origin] 80 Referrer-Policy: [strict-origin-when-cross-origin]
81 Transfer-Encoding: [chunked] 81 Transfer-Encoding: [chunked]
82 Vary: ['Accept-Encoding, Origin'] 82 Vary: ['Accept-Encoding, Origin']
@@ -84,8 +84,8 @@ interactions:
84 X-Download-Options: [noopen] 84 X-Download-Options: [noopen]
85 X-Frame-Options: [SAMEORIGIN] 85 X-Frame-Options: [SAMEORIGIN]
86 X-Permitted-Cross-Domain-Policies: [none] 86 X-Permitted-Cross-Domain-Policies: [none]
87 X-Request-Id: [59bdd62b-fb96-45e6-b94a-f42ff3ca0e48] 87 X-Request-Id: [933fefcb-01b8-41d5-8924-a8c368690e8d]
88 X-Runtime: ['0.057150'] 88 X-Runtime: ['0.038497']
89 X-XSS-Protection: [1; mode=block] 89 X-XSS-Protection: [1; mode=block]
90 content-length: ['2'] 90 content-length: ['2']
91 status: {code: 200, message: OK} 91 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)