From 3277ca777821e76955fb26d80788939a311db9db Mon Sep 17 00:00:00 2001 From: halcy Date: Mon, 7 Nov 2022 23:11:30 +0200 Subject: Initial test fixing pass. Four tests still fail. --- tests/cassettes/test_health.yaml | 72 ++++++++++++++++++++++++++++------------ 1 file changed, 51 insertions(+), 21 deletions(-) (limited to 'tests/cassettes/test_health.yaml') diff --git a/tests/cassettes/test_health.yaml b/tests/cassettes/test_health.yaml index 30ed4b6..46f18cd 100644 --- a/tests/cassettes/test_health.yaml +++ b/tests/cassettes/test_health.yaml @@ -2,29 +2,59 @@ interactions: - request: body: null headers: - Accept: ['*/*'] - Accept-Encoding: ['gzip, deflate'] - Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] - Connection: [keep-alive] - User-Agent: [python-requests/2.18.4] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Authorization: + - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN + Connection: + - keep-alive + User-Agent: + - tests/v311 method: GET uri: http://localhost:3000/health response: - body: {string: success} + body: + string: OK headers: - Cache-Control: ['max-age=0, private, must-revalidate'] - Content-Type: [text/plain; charset=utf-8] - Last-Modified: ['Sat, 22 Feb 2020 19:28:40 GMT'] - Referrer-Policy: [strict-origin-when-cross-origin] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - X-Download-Options: [noopen] - X-Frame-Options: [SAMEORIGIN] - X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [1b4dc066-9267-4f22-8339-5acbe9d0b37e] - X-Runtime: ['0.042676'] - X-XSS-Protection: [1; mode=block] - content-length: ['7'] - status: {code: 200, message: OK} + Cache-Control: + - max-age=0, private, must-revalidate + Content-Security-Policy: + - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src + ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; + style-src ''self'' http://localhost:3000 ''nonce-Gp2dDa+Cmzd0WTL8aes/2g==''; + media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' + https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' + data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 + ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' + ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; + worker-src ''self'' blob: http://localhost:3000' + Content-Type: + - text/plain; charset=utf-8 + ETag: + - W/"565339bc4d33d72817b583024112eb7f" + Referrer-Policy: + - strict-origin-when-cross-origin + Transfer-Encoding: + - chunked + Vary: + - Accept + X-Content-Type-Options: + - nosniff + X-Download-Options: + - noopen + X-Frame-Options: + - SAMEORIGIN + X-Permitted-Cross-Domain-Policies: + - none + X-Request-Id: + - 8a505070-6df8-415a-a7a7-4aa4d6c7d616 + X-Runtime: + - '0.013414' + X-XSS-Protection: + - 1; mode=block + status: + code: 200 + message: OK version: 1 -- cgit v1.2.3