diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-13 16:16:29 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-13 16:16:29 +0200 |
commit | 0e00fced99976d74e972a3c9ca5b762697840a33 (patch) | |
tree | 632f7e06d3e7d81e15f78d8821d39acf59b8301c /tests/cassettes/test_account_update_credentials_no_avatar.yaml | |
parent | c66015a6b0655f865c45587095ca8744a9d61534 (diff) | |
download | mastodon.py-0e00fced99976d74e972a3c9ca5b762697840a33.tar.gz |
fix tests
Diffstat (limited to 'tests/cassettes/test_account_update_credentials_no_avatar.yaml')
-rw-r--r-- | tests/cassettes/test_account_update_credentials_no_avatar.yaml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/cassettes/test_account_update_credentials_no_avatar.yaml b/tests/cassettes/test_account_update_credentials_no_avatar.yaml index d8a7b2b..31bd440 100644 --- a/tests/cassettes/test_account_update_credentials_no_avatar.yaml +++ b/tests/cassettes/test_account_update_credentials_no_avatar.yaml | |||
@@ -1,13 +1,13 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: !!binary | | 3 | body: !!binary | |
4 | LS05ZDQ2YWFjODk1MTk1MTUzOTM0ZjUxMDJkMzU4ZGExYg0KQ29udGVudC1EaXNwb3NpdGlvbjog | 4 | LS05OWQyZjExZDFmYjIyYjI0ODM4YjBiMjFkNDRiMWJlZQ0KQ29udGVudC1EaXNwb3NpdGlvbjog |
5 | Zm9ybS1kYXRhOyBuYW1lPSJkaXNwbGF5X25hbWUiDQoNCkpvaG4gTGVubm9uDQotLTlkNDZhYWM4 | 5 | Zm9ybS1kYXRhOyBuYW1lPSJkaXNwbGF5X25hbWUiDQoNCkpvaG4gTGVubm9uDQotLTk5ZDJmMTFk |
6 | OTUxOTUxNTM5MzRmNTEwMmQzNThkYTFiDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7 | 6 | MWZiMjJiMjQ4MzhiMGIyMWQ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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACmRlc2MA | 13 | bGNtcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACmRlc2MA |
@@ -943,7 +943,7 @@ interactions: | |||
943 | DAphpUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWbbHaEokDt | 943 | DAphpUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWbbHaEokDt |
944 | zf5qMy4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBTtsYnLjJ4 | 944 | zf5qMy4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBTtsYnLjJ4 |
945 | xUrWDGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/WlSoGNPcbo | 945 | xUrWDGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/WlSoGNPcbo |
946 | 46Oebs70qVKg/9kNCi0tOWQ0NmFhYzg5NTE5NTE1MzkzNGY1MTAyZDM1OGRhMWItLQ0K | 946 | 46Oebs70qVKg/9kNCi0tOTlkMmYxMWQxZmIyMmIyNDgzOGIwYjIxZDQ0YjFiZWUtLQ0K |
947 | headers: | 947 | headers: |
948 | Accept: | 948 | Accept: |
949 | - '*/*' | 949 | - '*/*' |
@@ -956,16 +956,16 @@ interactions: | |||
956 | Content-Length: | 956 | Content-Length: |
957 | - '53745' | 957 | - '53745' |
958 | Content-Type: | 958 | Content-Type: |
959 | - multipart/form-data; boundary=9d46aac895195153934f5102d358da1b | 959 | - multipart/form-data; boundary=99d2f11d1fb22b24838b0b21d44b1bee |
960 | User-Agent: | 960 | User-Agent: |
961 | - tests/v311 | 961 | - tests/v311 |
962 | method: PATCH | 962 | method: PATCH |
963 | uri: http://localhost:3000/api/v1/accounts/update_credentials | 963 | uri: http://localhost:3000/api/v1/accounts/update_credentials |
964 | response: | 964 | response: |
965 | body: | 965 | body: |
966 | string: '{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 966 | string: '{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
967 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 967 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI |
968 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I | 968 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I |
969 | walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' | 969 | walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' |
970 | headers: | 970 | headers: |
971 | Cache-Control: | 971 | Cache-Control: |
@@ -973,7 +973,7 @@ interactions: | |||
973 | Content-Security-Policy: | 973 | Content-Security-Policy: |
974 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 974 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
975 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 975 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
976 | style-src ''self'' http://localhost:3000 ''nonce-Flf21y/hL2a6g7YJa4YE8w==''; | 976 | style-src ''self'' http://localhost:3000 ''nonce-hAZ275fq1LAzavIBCjc1WQ==''; |
977 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 977 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
978 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 978 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
979 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 979 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -983,7 +983,7 @@ interactions: | |||
983 | Content-Type: | 983 | Content-Type: |
984 | - application/json; charset=utf-8 | 984 | - application/json; charset=utf-8 |
985 | ETag: | 985 | ETag: |
986 | - W/"88dddad65c839761de1ac48e31e37246" | 986 | - W/"85aff3592abbccaac1c06a612ba5aaa8" |
987 | Referrer-Policy: | 987 | Referrer-Policy: |
988 | - strict-origin-when-cross-origin | 988 | - strict-origin-when-cross-origin |
989 | Transfer-Encoding: | 989 | Transfer-Encoding: |
@@ -999,9 +999,9 @@ interactions: | |||
999 | X-Permitted-Cross-Domain-Policies: | 999 | X-Permitted-Cross-Domain-Policies: |
1000 | - none | 1000 | - none |
1001 | X-Request-Id: | 1001 | X-Request-Id: |
1002 | - d2befb82-9593-457b-8570-2b236ed165ae | 1002 | - 2a327e12-a614-4e46-87bb-77eb4a781905 |
1003 | X-Runtime: | 1003 | X-Runtime: |
1004 | - '0.035399' | 1004 | - '0.035448' |
1005 | X-XSS-Protection: | 1005 | X-XSS-Protection: |
1006 | - 1; mode=block | 1006 | - 1; mode=block |
1007 | status: | 1007 | status: |