From 18c6b3b90ff8bd607df18af86d092ac1205ffbf7 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Tue, 5 Jun 2018 22:10:31 +0200 Subject: New casettes, small fixes --- .../cassettes/test_account_update_credentials.yaml | 46 +++++++++++----------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'tests/cassettes/test_account_update_credentials.yaml') diff --git a/tests/cassettes/test_account_update_credentials.yaml b/tests/cassettes/test_account_update_credentials.yaml index 9c8c1c8..a4494d1 100644 --- a/tests/cassettes/test_account_update_credentials.yaml +++ b/tests/cassettes/test_account_update_credentials.yaml @@ -1,20 +1,20 @@ interactions: - request: body: !!binary | - LS1jZGI3MWU4MTI1ZTg0YjM1ODlkMzJmZGM3YTAzOGM1ZA0KQ29udGVudC1EaXNwb3NpdGlvbjog - Zm9ybS1kYXRhOyBuYW1lPSJmaWVsZHNfYXR0cmlidXRlc1swXVt2YWx1ZV0iDQoNCnRvYXN0eS4N - Ci0tY2RiNzFlODEyNWU4NGIzNTg5ZDMyZmRjN2EwMzhjNWQNCkNvbnRlbnQtRGlzcG9zaXRpb246 - IGZvcm0tZGF0YTsgbmFtZT0iZGlzcGxheV9uYW1lIg0KDQpKb2huIExlbm5vbg0KLS1jZGI3MWU4 - MTI1ZTg0YjM1ODlkMzJmZGM3YTAzOGM1ZA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRh - OyBuYW1lPSJmaWVsZHNfYXR0cmlidXRlc1sxXVtuYW1lXSINCg0KbGFzYWduYQ0KLS1jZGI3MWU4 - MTI1ZTg0YjM1ODlkMzJmZGM3YTAzOGM1ZA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRh - OyBuYW1lPSJmaWVsZHNfYXR0cmlidXRlc1sxXVt2YWx1ZV0iDQoNCm5vISEhDQotLWNkYjcxZTgx - MjVlODRiMzU4OWQzMmZkYzdhMDM4YzVkDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7 - IG5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bnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iYXZhdGFyIjsgZmlsZW5hbWU9Im1h - c3RvZG9ucHl1cGxvYWRfLmpwZSINCkNvbnRlbnQtVHlwZTogaW1hZ2UvanBlZw0KDQr/2P/gABBK + c3RvZG9ucHl1cGxvYWRfLmpwZyINCkNvbnRlbnQtVHlwZTogaW1hZ2UvanBlZw0KDQr/2P/gABBK RklGAAEBAQBIAEgAAP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfc AAEAGQADACkAOWFjc3BBUFBMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD21gABAAAAANMtbGNt cwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACmRlc2MAAAD8 @@ -1888,26 +1888,26 @@ interactions: pUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWbbHaEokDtzf5q My4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBTtsYnLjJ4xUrW DGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/WlSoGNPcbo46Oe - bs70qVKg/9kNCi0tY2RiNzFlODEyNWU4NGIzNTg5ZDMyZmRjN2EwMzhjNWQtLQ0K + bs70qVKg/9kNCi0tYWE2MTlkYzc3ODc4NGYyODhjNjU3MThhNmM0NDU3MjUtLQ0K headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['107607'] - Content-Type: [multipart/form-data; boundary=cdb71e8125e84b3589d32fdc7a038c5d] + Content-Type: [multipart/form-data; boundary=aa619dc778784f288c65718a6c445725] User-Agent: [python-requests/2.9.1] 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-05-07T00:38:05.405Z","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_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":4,"source":{"privacy":"public","sensitive":false,"note":"I + Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","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_.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":0,"source":{"privacy":"public","sensitive":false,"note":"I walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"88fa68354142994962076b3df86272b7"] + ETag: [W/"5669121fefd96ee550d48eccf174ca59"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -1915,8 +1915,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [f04d61c0-beca-488f-a36c-b59e56e94079] - X-Runtime: ['0.182837'] + X-Request-Id: [2ca3748f-b5d4-42c5-a6d9-6d4bbff1e535] + X-Runtime: ['0.668652'] X-XSS-Protection: [1; mode=block] content-length: ['1019'] status: {code: 200, message: OK} -- cgit v1.2.3