From 052b7f7cd319bd39f5c9db1b0322e9e4445a123e Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 22 Jun 2019 15:28:27 +0200 Subject: Test fixups pre-2.9.1 --- .../cassettes/test_account_update_credentials.yaml | 45 +++++++++++----------- 1 file changed, 22 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 0d42cd7..92b1065 100644 --- a/tests/cassettes/test_account_update_credentials.yaml +++ b/tests/cassettes/test_account_update_credentials.yaml @@ -1,19 +1,19 @@ interactions: - request: body: !!binary | - LS0xNzlhZjYyN2U1NmM0YzY2ODI0MzdiMzYxODZjY2YyZA0KQ29udGVudC1EaXNwb3NpdGlvbjog - Zm9ybS1kYXRhOyBuYW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tMTc5YWY2MjdlNTZjNGM2 - NjgyNDM3YjM2MTg2Y2NmMmQNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0i - ZGlzcGxheV9uYW1lIg0KDQpKb2huIExlbm5vbg0KLS0xNzlhZjYyN2U1NmM0YzY2ODI0MzdiMzYx - ODZjY2YyZA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmaWVsZHNfYXR0 - cmlidXRlc1swXVtuYW1lXSINCg0KYnJlYWQNCi0tMTc5YWY2MjdlNTZjNGM2NjgyNDM3YjM2MTg2 - Y2NmMmQNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iZmllbGRzX2F0dHJp - YnV0ZXNbMF1bdmFsdWVdIg0KDQp0b2FzdHkuDQotLTE3OWFmNjI3ZTU2YzRjNjY4MjQzN2IzNjE4 - NmNjZjJkDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZpZWxkc19hdHRy - aWJ1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EBAQBIAEgAAP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfc @@ -1888,26 +1888,25 @@ interactions: pUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWbbHaEokDtzf5q My4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBTtsYnLjJ4xUrW DGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/WlSoGNPcbo46Oe - bs70qVKg/9kNCi0tMTc5YWY2MjdlNTZjNGM2NjgyNDM3YjM2MTg2Y2NmMmQtLQ0K + bs70qVKg/9kNCi0tNDlhMmE1NTQ0MDRlNGZmN2EyNjg1M2E0NTYzYWVhYzUtLQ0K 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=179af627e56c4c6682437b36186ccf2d] + Content-Type: [multipart/form-data; boundary=49a2a554404e4ff7a26853a4563aeac5] 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":"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 + Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","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?1561208563","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208563","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208563","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208563","followers_count":0,"following_count":0,"statuses_count":0,"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'] + Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"bc1ad9caec450a52289247fffd7cf5a9"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -1915,9 +1914,9 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [88bafef4-0980-4042-a7fe-b411a7220131] - X-Runtime: ['0.159369'] + X-Request-Id: [25f1eb3b-4110-40c5-ba4f-ce60cc29966d] + X-Runtime: ['1.444611'] X-XSS-Protection: [1; mode=block] - content-length: ['1135'] + content-length: ['1134'] status: {code: 200, message: OK} version: 1 -- cgit v1.2.3