From a15d28d9d60128fd5551f05eccd8999b46f70f5e Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sun, 6 May 2018 01:37:13 +0200 Subject: Testing updates, can now test streaming API --- tests/cassettes/test_account_mute_unmute.yaml | 64 +++------------------------ 1 file changed, 6 insertions(+), 58 deletions(-) (limited to 'tests/cassettes/test_account_mute_unmute.yaml') diff --git a/tests/cassettes/test_account_mute_unmute.yaml b/tests/cassettes/test_account_mute_unmute.yaml index 3ca8b55..81b2fb4 100644 --- a/tests/cassettes/test_account_mute_unmute.yaml +++ b/tests/cassettes/test_account_mute_unmute.yaml @@ -15,13 +15,13 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"bad0a6406a3864e574a59a1ccf46db20"] + ETag: [W/"a2ef8797df0b890961779d6460232833"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [c8d0df54-8920-4d93-a426-2df9b1f20449] - X-Runtime: ['0.157243'] + X-Request-Id: [46a68ff1-d44a-4968-8644-fe2ccf895909] + X-Runtime: ['0.137282'] X-XSS-Protection: [1; mode=block] content-length: ['173'] status: {code: 200, message: OK} @@ -41,65 +41,13 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"87221e47b85c075458d260d65c52aa13"] + ETag: [W/"4e5bdb0c2073b9e61052d5ff830594ca"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [22c3069c-f9e3-444c-ab9a-b330af09d17b] - X-Runtime: ['0.044107'] - X-XSS-Protection: [1; mode=block] - content-length: ['175'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: ['*/*'] - Accept-Encoding: ['gzip, deflate'] - Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] - Connection: [keep-alive] - Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] - method: POST - uri: http://localhost:3000/api/v1/accounts/1/mute - response: - body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false}'} - headers: - Cache-Control: ['max-age=0, private, must-revalidate'] - Content-Type: [application/json; charset=utf-8] - ETag: [W/"eb02aa306c43dc2cedd064423050e780"] - Transfer-Encoding: [chunked] - Vary: ['Accept-Encoding, Origin'] - X-Content-Type-Options: [nosniff] - X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [a280815b-2e4b-4a4d-9daa-dd552e0ef497] - X-Runtime: ['0.180829'] - X-XSS-Protection: [1; mode=block] - content-length: ['173'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: ['*/*'] - Accept-Encoding: ['gzip, deflate'] - Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] - Connection: [keep-alive] - Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] - method: POST - uri: http://localhost:3000/api/v1/accounts/1/unmute - response: - body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} - headers: - Cache-Control: ['max-age=0, private, must-revalidate'] - Content-Type: [application/json; charset=utf-8] - ETag: [W/"229b5f1dd5df8ec902733f300aadca06"] - Transfer-Encoding: [chunked] - Vary: ['Accept-Encoding, Origin'] - X-Content-Type-Options: [nosniff] - X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [be6655f4-5da9-4bf6-808e-9a4d01fc166b] - X-Runtime: ['0.068562'] + X-Request-Id: [badf01d7-f9ff-48b3-b7b3-b22bfcaafba0] + X-Runtime: ['0.077923'] X-XSS-Protection: [1; mode=block] content-length: ['175'] status: {code: 200, message: OK} -- cgit v1.2.3