From e3936649745a627fa2c31fc7b8602793b7d6027b Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 27 Apr 2019 21:04:06 +0200 Subject: Test fixups and small 2.8 fixes Pagination backwards is broken presently. --- .../test_account_update_credentials_no_header.yaml | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'tests/cassettes/test_account_update_credentials_no_header.yaml') diff --git a/tests/cassettes/test_account_update_credentials_no_header.yaml b/tests/cassettes/test_account_update_credentials_no_header.yaml index f8cd483..5f340fb 100644 --- a/tests/cassettes/test_account_update_credentials_no_header.yaml +++ b/tests/cassettes/test_account_update_credentials_no_header.yaml @@ -1,11 +1,11 @@ interactions: - request: body: !!binary | - LS00MTFiZGE5N2YzZTg0MjQ0YWFhNjZjYjVjNDQxYTNiMA0KQ29udGVudC1EaXNwb3NpdGlvbjog - Zm9ybS1kYXRhOyBuYW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tNDExYmRhOTdmM2U4NDI0 - NGFhYTY2Y2I1YzQ0MWEzYjANCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0i - ZGlzcGxheV9uYW1lIg0KDQpKb2huIExlbm5vbg0KLS00MTFiZGE5N2YzZTg0MjQ0YWFhNjZjYjVj - NDQxYTNiMA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJhdmF0YXIiOyBm + LS1kMjA4ZDU5NTQ2NjQ0MDZjYmQ3YzU0ZjY0OTVhYzZhYQ0KQ29udGVudC1EaXNwb3NpdGlvbjog + Zm9ybS1kYXRhOyBuYW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tZDIwOGQ1OTU0NjY0NDA2 + Y2JkN2M1NGY2NDk1YWM2YWENCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0i + ZGlzcGxheV9uYW1lIg0KDQpKb2huIExlbm5vbg0KLS1kMjA4ZDU5NTQ2NjQ0MDZjYmQ3YzU0ZjY0 + OTVhYzZhYQ0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJhdmF0YXIiOyBm aWxlbmFtZT0ibWFzdG9kb25weXVwbG9hZF8uanBlIg0KQ29udGVudC1UeXBlOiBpbWFnZS9qcGVn DQoNCv/Y/+AAEEpGSUYAAQEBAEgASAAA/+ICHElDQ19QUk9GSUxFAAEBAAACDGxjbXMCEAAAbW50 clJHQiBYWVogB9wAAQAZAAMAKQA5YWNzcEFQUEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbW @@ -942,7 +942,7 @@ interactions: elShfkRBtkgMCmGlSoojqYg3CP1hg5XagwuSZZej1N96VKgeHKRZSii9BM7fep2iK8u6Y69PxSpU VZtsdoSiQO3N/mozLhcIxMSN89s+KVKgU4XMHLHOFF7LVZRJrFV22pUqBoKKIKucrmmTAxMZfilS oFO2xicuMnjFStYMZkHV3XP4pUqC5Zbdy3MwJvu7U0AjASTLfOy9aVKgjPC5Yj9imCTIjyrGTjBn - 9aVKgY09xujjo55uzvSpUqD/2Q0KLS00MTFiZGE5N2YzZTg0MjQ0YWFhNjZjYjVjNDQxYTNiMC0t + 9aVKgY09xujjo55uzvSpUqD/2Q0KLS1kMjA4ZDU5NTQ2NjQ0MDZjYmQ3YzU0ZjY0OTVhYzZhYS0t DQo= headers: Accept: ['*/*'] @@ -950,19 +950,19 @@ interactions: Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['53696'] - Content-Type: [multipart/form-data; boundary=411bda97f3e84244aaa66cb5c441a3b0] + Content-Type: [multipart/form-data; boundary=d208d5954664406cbd7c54f6495ac6aa] User-Agent: [python-requests/2.18.4] method: PATCH uri: http://localhost:3000/api/v1/accounts/update_credentials response: body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John - Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI - 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":115,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I - walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'} + Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI + walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1556389071","followers_count":0,"following_count":0,"statuses_count":41,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I + walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"efe5a7a59997f1d19b82158b6a8f4ecf"] + ETag: [W/"bc1ad9caec450a52289247fffd7cf5a9"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -970,9 +970,9 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [e30405af-2200-4e6b-b326-1004edd8d3ba] - X-Runtime: ['0.112352'] + X-Request-Id: [1a62bc55-a35f-4d6b-b190-53762b2bf9c5] + X-Runtime: ['0.134618'] X-XSS-Protection: [1; mode=block] - content-length: ['1041'] + content-length: ['1135'] status: {code: 200, message: OK} version: 1 -- cgit v1.2.3