diff options
author | Lorenz Diener <[email protected]> | 2018-07-30 23:19:51 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-07-30 23:19:51 +0200 |
commit | d0c71b1a8497a3047f630cd1926f803a5190d7aa (patch) | |
tree | f52a76a1160e768de4519e31548a5d1cb1c29c6f /tests/cassettes/test_push_delete.yaml | |
parent | 8b06b53ed50e41411857181e4881e54823ed661b (diff) | |
download | mastodon.py-d0c71b1a8497a3047f630cd1926f803a5190d7aa.tar.gz |
Fresh set of tests pre-release
Diffstat (limited to 'tests/cassettes/test_push_delete.yaml')
-rw-r--r-- | tests/cassettes/test_push_delete.yaml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/cassettes/test_push_delete.yaml b/tests/cassettes/test_push_delete.yaml index 7c63087..18342c6 100644 --- a/tests/cassettes/test_push_delete.yaml +++ b/tests/cassettes/test_push_delete.yaml | |||
@@ -1,6 +1,6 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BHSgAVMYykgCXIyjGtc4YqPj8GEFC9Frg%2Fzo40TRX3rWxEqFAIVRZke1NIUtHODkw%2BJpvHt6%2FRUhilmG0UmMJOE%3D&subscription%5Bkeys%5D%5Bauth%5D=EI4xq0gaQk9lJxgn7ZGz9g%3D%3D | 3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BOy%2BkCX9w1ntVvdRRRpyV4JNUw2cVpRkfi8WS1z3McvgDujbY9YICQV1kD3%2BuTu4GT1e2XNCFSSvF1RIDpZB8Ro%3D&subscription%5Bkeys%5D%5Bauth%5D=KKrv91gEAZ3DYZk0uGn%2BIw%3D%3D |
4 | headers: | 4 | headers: |
5 | Accept: ['*/*'] | 5 | Accept: ['*/*'] |
6 | Accept-Encoding: ['gzip, deflate'] | 6 | Accept-Encoding: ['gzip, deflate'] |
@@ -12,11 +12,11 @@ interactions: | |||
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":6,"endpoint":"https://example.com","alerts":{},"server_key":"BC0l_ldr_Wvytg6fB3PdfeZx8NNB0E0UL2xIOtLfwumKtHTby9zdL0UdeqEQQJcKI6ZGqWoFD6OSkT7aRHKJmX8="}'} | 15 | body: {string: '{"id":9,"endpoint":"https://example.com","alerts":{},"server_key":"BFUzywftzA81kLihlpi_bTniTwxuGp_D2gX9CHRq4qJQJgsKQUFyc8juKZ-fHMR6YxnA1A1qhgVvMTChH21CMhY="}'} |
16 | headers: | 16 | headers: |
17 | Cache-Control: ['max-age=0, private, must-revalidate'] | 17 | Cache-Control: ['max-age=0, private, must-revalidate'] |
18 | Content-Type: [application/json; charset=utf-8] | 18 | Content-Type: [application/json; charset=utf-8] |
19 | ETag: [W/"4f035f71f6211ae347a40b0eac415095"] | 19 | ETag: [W/"9bc9f474e2e4e8007f104cef3870d96f"] |
20 | Referrer-Policy: [strict-origin-when-cross-origin] | 20 | Referrer-Policy: [strict-origin-when-cross-origin] |
21 | Transfer-Encoding: [chunked] | 21 | Transfer-Encoding: [chunked] |
22 | Vary: ['Accept-Encoding, Origin'] | 22 | Vary: ['Accept-Encoding, Origin'] |
@@ -24,8 +24,8 @@ interactions: | |||
24 | X-Download-Options: [noopen] | 24 | X-Download-Options: [noopen] |
25 | X-Frame-Options: [SAMEORIGIN] | 25 | X-Frame-Options: [SAMEORIGIN] |
26 | X-Permitted-Cross-Domain-Policies: [none] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
27 | X-Request-Id: [0fb35cb9-b35f-4b8e-8739-8b51511bb38d] | 27 | X-Request-Id: [ef780356-1392-42a2-b19f-9fb040b97b17] |
28 | X-Runtime: ['0.028399'] | 28 | X-Runtime: ['0.029904'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['157'] | 30 | content-length: ['157'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
@@ -45,7 +45,7 @@ interactions: | |||
45 | headers: | 45 | headers: |
46 | Cache-Control: ['max-age=0, private, must-revalidate'] | 46 | Cache-Control: ['max-age=0, private, must-revalidate'] |
47 | Content-Type: [application/json; charset=utf-8] | 47 | Content-Type: [application/json; charset=utf-8] |
48 | ETag: [W/"22e009680831e2e6d73ed4c588a7688d"] | 48 | ETag: [W/"189d0d77b93465d891619d50fe217a85"] |
49 | Referrer-Policy: [strict-origin-when-cross-origin] | 49 | Referrer-Policy: [strict-origin-when-cross-origin] |
50 | Transfer-Encoding: [chunked] | 50 | Transfer-Encoding: [chunked] |
51 | Vary: ['Accept-Encoding, Origin'] | 51 | Vary: ['Accept-Encoding, Origin'] |
@@ -53,8 +53,8 @@ interactions: | |||
53 | X-Download-Options: [noopen] | 53 | X-Download-Options: [noopen] |
54 | X-Frame-Options: [SAMEORIGIN] | 54 | X-Frame-Options: [SAMEORIGIN] |
55 | X-Permitted-Cross-Domain-Policies: [none] | 55 | X-Permitted-Cross-Domain-Policies: [none] |
56 | X-Request-Id: [9fd56ca3-f859-4a0b-a8d7-0a1753d812c8] | 56 | X-Request-Id: [9f21bb4c-d900-4025-a979-9c07ccbd363e] |
57 | X-Runtime: ['0.020027'] | 57 | X-Runtime: ['0.045305'] |
58 | X-XSS-Protection: [1; mode=block] | 58 | X-XSS-Protection: [1; mode=block] |
59 | content-length: ['2'] | 59 | content-length: ['2'] |
60 | status: {code: 200, message: OK} | 60 | status: {code: 200, message: OK} |
@@ -80,8 +80,8 @@ interactions: | |||
80 | X-Download-Options: [noopen] | 80 | X-Download-Options: [noopen] |
81 | X-Frame-Options: [SAMEORIGIN] | 81 | X-Frame-Options: [SAMEORIGIN] |
82 | X-Permitted-Cross-Domain-Policies: [none] | 82 | X-Permitted-Cross-Domain-Policies: [none] |
83 | X-Request-Id: [2332dbd1-64dd-48d2-9ecc-692ad6107d04] | 83 | X-Request-Id: [732fe4f5-edb1-45b8-9e3b-e439628bcac0] |
84 | X-Runtime: ['0.019242'] | 84 | X-Runtime: ['0.021938'] |
85 | X-XSS-Protection: [1; mode=block] | 85 | X-XSS-Protection: [1; mode=block] |
86 | content-length: ['28'] | 86 | content-length: ['28'] |
87 | status: {code: 404, message: Not Found} | 87 | status: {code: 404, message: Not Found} |