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_follow_unfollow.yaml | 64 +++-------------------- 1 file changed, 6 insertions(+), 58 deletions(-) (limited to 'tests/cassettes/test_account_follow_unfollow.yaml') diff --git a/tests/cassettes/test_account_follow_unfollow.yaml b/tests/cassettes/test_account_follow_unfollow.yaml index 28ee4a5..4e6e90d 100644 --- a/tests/cassettes/test_account_follow_unfollow.yaml +++ b/tests/cassettes/test_account_follow_unfollow.yaml @@ -15,13 +15,13 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"30f95c590c0189eb0e287e576859f259"] + ETag: [W/"6bd8bf79a5cc593fd51fa011fbbfe8b6"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [207de7da-a7ff-4fff-b056-a017596c7c96] - X-Runtime: ['0.083476'] + X-Request-Id: [7c82b2e3-abab-479b-8a2b-b12f7b6fa568] + X-Runtime: ['0.087821'] X-XSS-Protection: [1; mode=block] content-length: ['174'] 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/"ee226d40e07fcac8182b0b963aedd6aa"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [a5819582-2122-4b5e-a894-31fe83e552b0] - X-Runtime: ['0.089673'] - 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/follow - response: - body: {string: '{"id":"1","following":true,"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/"b8c56d834f4621bc2b3b8f2dd4eb7712"] - Transfer-Encoding: [chunked] - Vary: ['Accept-Encoding, Origin'] - X-Content-Type-Options: [nosniff] - X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [2ee799ee-aca4-46be-9729-9a326bc6b1ab] - X-Runtime: ['0.231535'] - X-XSS-Protection: [1; mode=block] - content-length: ['174'] - 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/unfollow - 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: [3b7e105e-4b86-4131-9877-42c33ab471cb] - X-Runtime: ['0.121848'] + X-Request-Id: [1cd7e96e-b5be-49a5-843b-50903ea8f15a] + X-Runtime: ['0.101309'] X-XSS-Protection: [1; mode=block] content-length: ['175'] status: {code: 200, message: OK} -- cgit v1.2.3