diff options
author | Lorenz Diener <[email protected]> | 2019-06-22 15:28:27 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-06-22 15:28:27 +0200 |
commit | 052b7f7cd319bd39f5c9db1b0322e9e4445a123e (patch) | |
tree | a4f02a2f738a477f2cde36e209bc29ab4df78ebc /tests/cassettes/test_account_update_credentials.yaml | |
parent | 1a120f03939d36bc14bda0931819db0ab45908af (diff) | |
download | mastodon.py-052b7f7cd319bd39f5c9db1b0322e9e4445a123e.tar.gz |
Test fixups pre-2.9.1
Diffstat (limited to 'tests/cassettes/test_account_update_credentials.yaml')
-rw-r--r-- | tests/cassettes/test_account_update_credentials.yaml | 45 |
1 files changed, 22 insertions, 23 deletions
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 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: !!binary | | 3 | body: !!binary | |
4 | LS0xNzlhZjYyN2U1NmM0YzY2ODI0MzdiMzYxODZjY2YyZA0KQ29udGVudC1EaXNwb3NpdGlvbjog | 4 | LS00OWEyYTU1NDQwNGU0ZmY3YTI2ODUzYTQ1NjNhZWFjNQ0KQ29udGVudC1EaXNwb3NpdGlvbjog |
5 | Zm9ybS1kYXRhOyBuYW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tMTc5YWY2MjdlNTZjNGM2 | 5 | Zm9ybS1kYXRhOyBuYW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tNDlhMmE1NTQ0MDRlNGZm |
6 | NjgyNDM3YjM2MTg2Y2NmMmQNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0i | 6 | N2EyNjg1M2E0NTYzYWVhYzUNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvc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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD21gAB |
@@ -950,7 +950,7 @@ interactions: | |||
950 | oX5EQbZIDAphpUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWb | 950 | oX5EQbZIDAphpUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWb |
951 | bHaEokDtzf5qMy4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBT | 951 | bHaEokDtzf5qMy4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBT |
952 | tsYnLjJ4xUrWDGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/Wl | 952 | tsYnLjJ4xUrWDGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/Wl |
953 | SoGNPcbo46Oebs70qVKg/9kNCi0tMTc5YWY2MjdlNTZjNGM2NjgyNDM3YjM2MTg2Y2NmMmQNCkNv | 953 | SoGNPcbo46Oebs70qVKg/9kNCi0tNDlhMmE1NTQ0MDRlNGZmN2EyNjg1M2E0NTYzYWVhYzUNCkNv |
954 | bnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iaGVhZGVyIjsgZmlsZW5hbWU9Im1h | 954 | bnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iaGVhZGVyIjsgZmlsZW5hbWU9Im1h |
955 | c3RvZG9ucHl1cGxvYWRfLmpwZSINCkNvbnRlbnQtVHlwZTogaW1hZ2UvanBlZw0KDQr/2P/gABBK | 955 | c3RvZG9ucHl1cGxvYWRfLmpwZSINCkNvbnRlbnQtVHlwZTogaW1hZ2UvanBlZw0KDQr/2P/gABBK |
956 | RklGAAEBAQBIAEgAAP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfc | 956 | RklGAAEBAQBIAEgAAP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfc |
@@ -1888,26 +1888,25 @@ interactions: | |||
1888 | pUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWbbHaEokDtzf5q | 1888 | pUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWbbHaEokDtzf5q |
1889 | My4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBTtsYnLjJ4xUrW | 1889 | My4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBTtsYnLjJ4xUrW |
1890 | DGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/WlSoGNPcbo46Oe | 1890 | DGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/WlSoGNPcbo46Oe |
1891 | bs70qVKg/9kNCi0tMTc5YWY2MjdlNTZjNGM2NjgyNDM3YjM2MTg2Y2NmMmQtLQ0K | 1891 | bs70qVKg/9kNCi0tNDlhMmE1NTQ0MDRlNGZmN2EyNjg1M2E0NTYzYWVhYzUtLQ0K |
1892 | headers: | 1892 | headers: |
1893 | Accept: ['*/*'] | 1893 | Accept: ['*/*'] |
1894 | Accept-Encoding: ['gzip, deflate'] | 1894 | Accept-Encoding: ['gzip, deflate'] |
1895 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 1895 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
1896 | Connection: [keep-alive] | 1896 | Connection: [keep-alive] |
1897 | Content-Length: ['107607'] | 1897 | Content-Length: ['107607'] |
1898 | Content-Type: [multipart/form-data; boundary=179af627e56c4c6682437b36186ccf2d] | 1898 | Content-Type: [multipart/form-data; boundary=49a2a554404e4ff7a26853a4563aeac5] |
1899 | User-Agent: [python-requests/2.18.4] | 1899 | User-Agent: [python-requests/2.18.4] |
1900 | method: PATCH | 1900 | method: PATCH |
1901 | uri: http://localhost:3000/api/v1/accounts/update_credentials | 1901 | uri: http://localhost:3000/api/v1/accounts/update_credentials |
1902 | response: | 1902 | response: |
1903 | body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 1903 | body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
1904 | Lennon","locked":true,"bot":false,"created_at":"2019-04-27T20:03:12.393Z","note":"\u003cp\u003eI | 1904 | Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI |
1905 | 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 | 1905 | 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 |
1906 | 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}]}'} | 1906 | 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}]}'} |
1907 | headers: | 1907 | headers: |
1908 | Cache-Control: ['max-age=0, private, must-revalidate'] | 1908 | Cache-Control: ['no-cache, no-store'] |
1909 | Content-Type: [application/json; charset=utf-8] | 1909 | Content-Type: [application/json; charset=utf-8] |
1910 | ETag: [W/"bc1ad9caec450a52289247fffd7cf5a9"] | ||
1911 | Referrer-Policy: [strict-origin-when-cross-origin] | 1910 | Referrer-Policy: [strict-origin-when-cross-origin] |
1912 | Transfer-Encoding: [chunked] | 1911 | Transfer-Encoding: [chunked] |
1913 | Vary: ['Accept-Encoding, Origin'] | 1912 | Vary: ['Accept-Encoding, Origin'] |
@@ -1915,9 +1914,9 @@ interactions: | |||
1915 | X-Download-Options: [noopen] | 1914 | X-Download-Options: [noopen] |
1916 | X-Frame-Options: [SAMEORIGIN] | 1915 | X-Frame-Options: [SAMEORIGIN] |
1917 | X-Permitted-Cross-Domain-Policies: [none] | 1916 | X-Permitted-Cross-Domain-Policies: [none] |
1918 | X-Request-Id: [88bafef4-0980-4042-a7fe-b411a7220131] | 1917 | X-Request-Id: [25f1eb3b-4110-40c5-ba4f-ce60cc29966d] |
1919 | X-Runtime: ['0.159369'] | 1918 | X-Runtime: ['1.444611'] |
1920 | X-XSS-Protection: [1; mode=block] | 1919 | X-XSS-Protection: [1; mode=block] |
1921 | content-length: ['1135'] | 1920 | content-length: ['1134'] |
1922 | status: {code: 200, message: OK} | 1921 | status: {code: 200, message: OK} |
1923 | version: 1 | 1922 | version: 1 |