aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
committerLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
commit225c8ca76a8fc6eb2a87a8156b7ce808d3b06507 (patch)
tree58a331db57609ca038d9428f27b064a4c1b32854 /tests/cassettes/test_push_delete.yaml
parentf920f8b58429b5d7dea43442765df824ac04bf91 (diff)
downloadmastodon.py-225c8ca76a8fc6eb2a87a8156b7ce808d3b06507.tar.gz
Fresh batch of test runs
Diffstat (limited to 'tests/cassettes/test_push_delete.yaml')
-rw-r--r--tests/cassettes/test_push_delete.yaml20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/cassettes/test_push_delete.yaml b/tests/cassettes/test_push_delete.yaml
index fa4fbf3..25c939d 100644
--- a/tests/cassettes/test_push_delete.yaml
+++ b/tests/cassettes/test_push_delete.yaml
@@ -1,18 +1,18 @@
1interactions: 1interactions:
2- request: 2- request:
3 body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BMlrkErTM2M6bNEzb8k9wGH2nlmDbBn%2Fl7%2BZ0gCzWUYpP817a9NPt7OWTgNe7jrGEAOIfbFPLT0n94jvypNC0vE%3D&subscription%5Bkeys%5D%5Bauth%5D=fQmT60SBddqRsYrmSyNKcw%3D%3D 3 body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BD5VwuhLRvbzTNrg6%2FHHS4pKa%2F3Cu7NBjScG0T87aIp72nLzrwXBf21yb7AzTeVTMyu7V5Z9shpF%2FxuHSMe3yps%3D&subscription%5Bkeys%5D%5Bauth%5D=9zH0t4%2FsmW0pxyoGhiZrMQ%3D%3D
4 headers: 4 headers:
5 Accept: ['*/*'] 5 Accept: ['*/*']
6 Accept-Encoding: ['gzip, deflate'] 6 Accept-Encoding: ['gzip, deflate']
7 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 7 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
8 Connection: [keep-alive] 8 Connection: [keep-alive]
9 Content-Length: ['244'] 9 Content-Length: ['248']
10 Content-Type: [application/x-www-form-urlencoded] 10 Content-Type: [application/x-www-form-urlencoded]
11 User-Agent: [python-requests/2.18.4] 11 User-Agent: [python-requests/2.18.4]
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/push/subscription 13 uri: http://localhost:3000/api/v1/push/subscription
14 response: 14 response:
15 body: {string: '{"id":3,"endpoint":"https://example.com","alerts":{},"server_key":"BDoiaZnI8zQeheo5OzO3lDE5gn63dlzoaHrLTP7tctyKW-hj8yFIvIfWyCp8e-dT8kpJd9Ru7Sd-TTO2DXYgvwI="}'} 15 body: {string: '{"id":15,"endpoint":"https://example.com","alerts":{},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
16 headers: 16 headers:
17 Cache-Control: ['no-cache, no-store'] 17 Cache-Control: ['no-cache, no-store']
18 Content-Type: [application/json; charset=utf-8] 18 Content-Type: [application/json; charset=utf-8]
@@ -23,10 +23,10 @@ interactions:
23 X-Download-Options: [noopen] 23 X-Download-Options: [noopen]
24 X-Frame-Options: [SAMEORIGIN] 24 X-Frame-Options: [SAMEORIGIN]
25 X-Permitted-Cross-Domain-Policies: [none] 25 X-Permitted-Cross-Domain-Policies: [none]
26 X-Request-Id: [c84a6c62-4994-4912-b969-b11a6e631950] 26 X-Request-Id: [af76bd5d-1afc-4d85-957a-8249951be5d7]
27 X-Runtime: ['0.027850'] 27 X-Runtime: ['0.028201']
28 X-XSS-Protection: [1; mode=block] 28 X-XSS-Protection: [1; mode=block]
29 content-length: ['157'] 29 content-length: ['158']
30 status: {code: 200, message: OK} 30 status: {code: 200, message: OK}
31- request: 31- request:
32 body: null 32 body: null
@@ -51,8 +51,8 @@ interactions:
51 X-Download-Options: [noopen] 51 X-Download-Options: [noopen]
52 X-Frame-Options: [SAMEORIGIN] 52 X-Frame-Options: [SAMEORIGIN]
53 X-Permitted-Cross-Domain-Policies: [none] 53 X-Permitted-Cross-Domain-Policies: [none]
54 X-Request-Id: [d916def9-70dc-4cc9-b4cb-d58ec7ba3c2b] 54 X-Request-Id: [0898d9b5-c757-4dca-945a-9c4f4d7728e5]
55 X-Runtime: ['0.026985'] 55 X-Runtime: ['0.024530']
56 X-XSS-Protection: [1; mode=block] 56 X-XSS-Protection: [1; mode=block]
57 content-length: ['2'] 57 content-length: ['2']
58 status: {code: 200, message: OK} 58 status: {code: 200, message: OK}
@@ -78,8 +78,8 @@ interactions:
78 X-Download-Options: [noopen] 78 X-Download-Options: [noopen]
79 X-Frame-Options: [SAMEORIGIN] 79 X-Frame-Options: [SAMEORIGIN]
80 X-Permitted-Cross-Domain-Policies: [none] 80 X-Permitted-Cross-Domain-Policies: [none]
81 X-Request-Id: [9abe8dd7-e3d2-453f-9050-c40e8847ac69] 81 X-Request-Id: [572850e5-b1c0-4ed7-ba8f-59d083b26edd]
82 X-Runtime: ['0.014339'] 82 X-Runtime: ['0.014208']
83 X-XSS-Protection: [1; mode=block] 83 X-XSS-Protection: [1; mode=block]
84 content-length: ['28'] 84 content-length: ['28']
85 status: {code: 404, message: Not Found} 85 status: {code: 404, message: Not Found}
Powered by cgit v1.2.3 (git 2.41.0)