aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-06-05 22:10:31 +0200
committerLorenz Diener <[email protected]>2018-06-05 22:10:31 +0200
commit18c6b3b90ff8bd607df18af86d092ac1205ffbf7 (patch)
tree203729696d2639d5bf221168ad6c76a150130ab0 /tests/cassettes/test_attribute_access.yaml
parent36194fd60c8e5c6d30134134e32dd24981aee324 (diff)
downloadmastodon.py-18c6b3b90ff8bd607df18af86d092ac1205ffbf7.tar.gz
New casettes, small fixes
Diffstat (limited to 'tests/cassettes/test_attribute_access.yaml')
-rw-r--r--tests/cassettes/test_attribute_access.yaml28
1 files changed, 17 insertions, 11 deletions
diff --git a/tests/cassettes/test_attribute_access.yaml b/tests/cassettes/test_attribute_access.yaml
index 3de93f0..aeb2253 100644
--- a/tests/cassettes/test_attribute_access.yaml
+++ b/tests/cassettes/test_attribute_access.yaml
@@ -12,22 +12,25 @@ 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":"99984770753668256","created_at":"2018-05-06T22:42:06.419Z","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/99984770753668256","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984770753668256","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"100154005513718060","created_at":"2018-06-05T20:00:43.948Z","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/100154005513718060","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005513718060","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,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI 17 Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","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":2},"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_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":4,"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/"2094aa065b9273dfd848247e987bf0e3"] 22 ETag: [W/"afc964ffb98eed8b416c61f14ca63878"]
23 Referrer-Policy: [strict-origin-when-cross-origin]
23 Transfer-Encoding: [chunked] 24 Transfer-Encoding: [chunked]
24 Vary: ['Accept-Encoding, Origin'] 25 Vary: ['Accept-Encoding, Origin']
25 X-Content-Type-Options: [nosniff] 26 X-Content-Type-Options: [nosniff]
27 X-Download-Options: [noopen]
26 X-Frame-Options: [SAMEORIGIN] 28 X-Frame-Options: [SAMEORIGIN]
27 X-Request-Id: [28f96fc1-e223-4792-97b3-9e906abc955d] 29 X-Permitted-Cross-Domain-Policies: [none]
28 X-Runtime: ['0.363920'] 30 X-Request-Id: [8588ebd7-098e-4298-acdf-b6ecb10394bb]
31 X-Runtime: ['0.523800']
29 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
30 content-length: ['1400'] 33 content-length: ['1504']
31 status: {code: 200, message: OK} 34 status: {code: 200, message: OK}
32- request: 35- request:
33 body: null 36 body: null
@@ -39,19 +42,22 @@ interactions:
39 Content-Length: ['0'] 42 Content-Length: ['0']
40 User-Agent: [python-requests/2.9.1] 43 User-Agent: [python-requests/2.9.1]
41 method: DELETE 44 method: DELETE
42 uri: http://localhost:3000/api/v1/statuses/99984770753668256 45 uri: http://localhost:3000/api/v1/statuses/100154005513718060
43 response: 46 response:
44 body: {string: '{}'} 47 body: {string: '{}'}
45 headers: 48 headers:
46 Cache-Control: ['max-age=0, private, must-revalidate'] 49 Cache-Control: ['max-age=0, private, must-revalidate']
47 Content-Type: [application/json; charset=utf-8] 50 Content-Type: [application/json; charset=utf-8]
48 ETag: [W/"e1c92c2fc861afa27c4a0632f8f8d82a"] 51 ETag: [W/"3c501201602c549f58ded9973c9652f0"]
52 Referrer-Policy: [strict-origin-when-cross-origin]
49 Transfer-Encoding: [chunked] 53 Transfer-Encoding: [chunked]
50 Vary: ['Accept-Encoding, Origin'] 54 Vary: ['Accept-Encoding, Origin']
51 X-Content-Type-Options: [nosniff] 55 X-Content-Type-Options: [nosniff]
56 X-Download-Options: [noopen]
52 X-Frame-Options: [SAMEORIGIN] 57 X-Frame-Options: [SAMEORIGIN]
53 X-Request-Id: [82959881-7dd4-4c16-b2e7-82f8ac1e0333] 58 X-Permitted-Cross-Domain-Policies: [none]
54 X-Runtime: ['0.141019'] 59 X-Request-Id: [a257e4dc-993c-4122-9d13-3883dae803ee]
60 X-Runtime: ['0.240555']
55 X-XSS-Protection: [1; mode=block] 61 X-XSS-Protection: [1; mode=block]
56 content-length: ['2'] 62 content-length: ['2']
57 status: {code: 200, message: OK} 63 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)