diff options
author | Lorenz Diener <[email protected]> | 2018-05-07 00:53:13 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-05-07 00:53:13 +0200 |
commit | 8d5fe70c7e52656b2f89d0acfb1aed23bf583041 (patch) | |
tree | a210ef1ba6255d8f64fdd623de41f0e6931c4508 /tests/cassettes/test_list_by_account.yaml | |
parent | c0a0c8f517611d0026d6d37fbe7c57eae1f1a3bb (diff) | |
download | mastodon.py-8d5fe70c7e52656b2f89d0acfb1aed23bf583041.tar.gz |
Fix some bugs, update tests
Diffstat (limited to 'tests/cassettes/test_list_by_account.yaml')
-rw-r--r-- | tests/cassettes/test_list_by_account.yaml | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/tests/cassettes/test_list_by_account.yaml b/tests/cassettes/test_list_by_account.yaml index d07bfb7..4546977 100644 --- a/tests/cassettes/test_list_by_account.yaml +++ b/tests/cassettes/test_list_by_account.yaml | |||
@@ -12,19 +12,19 @@ interactions: | |||
12 | method: POST | 12 | method: POST |
13 | uri: http://localhost:3000/api/v1/lists | 13 | uri: http://localhost:3000/api/v1/lists |
14 | response: | 14 | response: |
15 | body: {string: '{"id":"24","title":"ham burglars"}'} | 15 | body: {string: '{"id":"9","title":"ham burglars"}'} |
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/"be955eaf8be280515d5ba0ba9ecb1a50"] | 19 | ETag: [W/"640f48d875075b3e649f85c290d31fd1"] |
20 | Transfer-Encoding: [chunked] | 20 | Transfer-Encoding: [chunked] |
21 | Vary: ['Accept-Encoding, Origin'] | 21 | Vary: ['Accept-Encoding, Origin'] |
22 | X-Content-Type-Options: [nosniff] | 22 | X-Content-Type-Options: [nosniff] |
23 | X-Frame-Options: [SAMEORIGIN] | 23 | X-Frame-Options: [SAMEORIGIN] |
24 | X-Request-Id: [672adb20-033a-4630-82f4-4646ce737155] | 24 | X-Request-Id: [1d9ac5dc-12bb-4912-a97f-1d6af93e9ff2] |
25 | X-Runtime: ['0.055324'] | 25 | X-Runtime: ['0.049308'] |
26 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['34'] | 27 | content-length: ['33'] |
28 | status: {code: 200, message: OK} | 28 | status: {code: 200, message: OK} |
29 | - request: | 29 | - request: |
30 | body: null | 30 | body: null |
@@ -37,19 +37,19 @@ interactions: | |||
37 | method: GET | 37 | method: GET |
38 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 38 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
39 | response: | 39 | response: |
40 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-04-17T21:40:55.626Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":51,"source":{"privacy":"public","sensitive":false,"note":""}}'} | 40 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"source":{"privacy":"public","sensitive":false,"note":""}}'} |
41 | headers: | 41 | headers: |
42 | Cache-Control: ['max-age=0, private, must-revalidate'] | 42 | Cache-Control: ['max-age=0, private, must-revalidate'] |
43 | Content-Type: [application/json; charset=utf-8] | 43 | Content-Type: [application/json; charset=utf-8] |
44 | ETag: [W/"691f6bd96e64ff4fe001604d8861d949"] | 44 | ETag: [W/"51219e03abcdd2d127bb724fe0a838d6"] |
45 | Transfer-Encoding: [chunked] | 45 | Transfer-Encoding: [chunked] |
46 | Vary: ['Accept-Encoding, Origin'] | 46 | Vary: ['Accept-Encoding, Origin'] |
47 | X-Content-Type-Options: [nosniff] | 47 | X-Content-Type-Options: [nosniff] |
48 | X-Frame-Options: [SAMEORIGIN] | 48 | X-Frame-Options: [SAMEORIGIN] |
49 | X-Request-Id: [d9788143-6fa1-4353-ab46-a4a157265615] | 49 | X-Request-Id: [3e80d124-aae6-435b-8a1b-e0a0cad63ccd] |
50 | X-Runtime: ['0.059023'] | 50 | X-Runtime: ['0.036737'] |
51 | X-XSS-Protection: [1; mode=block] | 51 | X-XSS-Protection: [1; mode=block] |
52 | content-length: ['571'] | 52 | content-length: ['570'] |
53 | status: {code: 200, message: OK} | 53 | status: {code: 200, message: OK} |
54 | - request: | 54 | - request: |
55 | body: null | 55 | body: null |
@@ -67,13 +67,13 @@ interactions: | |||
67 | headers: | 67 | headers: |
68 | Cache-Control: ['max-age=0, private, must-revalidate'] | 68 | Cache-Control: ['max-age=0, private, must-revalidate'] |
69 | Content-Type: [application/json; charset=utf-8] | 69 | Content-Type: [application/json; charset=utf-8] |
70 | ETag: [W/"f91b05337597468badfd19f87dd3fe7d"] | 70 | ETag: [W/"a68e62a364c40a8a5da2e2143dcfaecd"] |
71 | Transfer-Encoding: [chunked] | 71 | Transfer-Encoding: [chunked] |
72 | Vary: ['Accept-Encoding, Origin'] | 72 | Vary: ['Accept-Encoding, Origin'] |
73 | X-Content-Type-Options: [nosniff] | 73 | X-Content-Type-Options: [nosniff] |
74 | X-Frame-Options: [SAMEORIGIN] | 74 | X-Frame-Options: [SAMEORIGIN] |
75 | X-Request-Id: [3d70f64d-6d49-403e-b666-a266faa93132] | 75 | X-Request-Id: [7c8099fa-0867-4cce-8319-a83c9cd99bc6] |
76 | X-Runtime: ['0.107833'] | 76 | X-Runtime: ['0.134127'] |
77 | X-XSS-Protection: [1; mode=block] | 77 | X-XSS-Protection: [1; mode=block] |
78 | content-length: ['174'] | 78 | content-length: ['174'] |
79 | status: {code: 200, message: OK} | 79 | status: {code: 200, message: OK} |
@@ -88,19 +88,19 @@ interactions: | |||
88 | Content-Type: [application/x-www-form-urlencoded] | 88 | Content-Type: [application/x-www-form-urlencoded] |
89 | User-Agent: [python-requests/2.9.1] | 89 | User-Agent: [python-requests/2.9.1] |
90 | method: POST | 90 | method: POST |
91 | uri: http://localhost:3000/api/v1/lists/24/accounts | 91 | uri: http://localhost:3000/api/v1/lists/9/accounts |
92 | response: | 92 | response: |
93 | body: {string: '{}'} | 93 | body: {string: '{}'} |
94 | headers: | 94 | headers: |
95 | Cache-Control: ['max-age=0, private, must-revalidate'] | 95 | Cache-Control: ['max-age=0, private, must-revalidate'] |
96 | Content-Type: [application/json; charset=utf-8] | 96 | Content-Type: [application/json; charset=utf-8] |
97 | ETag: [W/"7d75201dffe84268b8e3844d4dc96e56"] | 97 | ETag: [W/"9f1be5e69062532601176acaaa81e8db"] |
98 | Transfer-Encoding: [chunked] | 98 | Transfer-Encoding: [chunked] |
99 | Vary: ['Accept-Encoding, Origin'] | 99 | Vary: ['Accept-Encoding, Origin'] |
100 | X-Content-Type-Options: [nosniff] | 100 | X-Content-Type-Options: [nosniff] |
101 | X-Frame-Options: [SAMEORIGIN] | 101 | X-Frame-Options: [SAMEORIGIN] |
102 | X-Request-Id: [75a29c9f-5126-4cb7-b446-b8cbc7800408] | 102 | X-Request-Id: [6b6e6e37-0bbd-4532-99a3-dfa746739733] |
103 | X-Runtime: ['0.069586'] | 103 | X-Runtime: ['0.040029'] |
104 | X-XSS-Protection: [1; mode=block] | 104 | X-XSS-Protection: [1; mode=block] |
105 | content-length: ['2'] | 105 | content-length: ['2'] |
106 | status: {code: 200, message: OK} | 106 | status: {code: 200, message: OK} |
@@ -115,19 +115,19 @@ interactions: | |||
115 | method: GET | 115 | method: GET |
116 | uri: http://localhost:3000/api/v1/accounts/1/lists | 116 | uri: http://localhost:3000/api/v1/accounts/1/lists |
117 | response: | 117 | response: |
118 | body: {string: '[{"id":"24","title":"ham burglars"}]'} | 118 | body: {string: '[{"id":"9","title":"ham burglars"}]'} |
119 | headers: | 119 | headers: |
120 | Cache-Control: ['max-age=0, private, must-revalidate'] | 120 | Cache-Control: ['max-age=0, private, must-revalidate'] |
121 | Content-Type: [application/json; charset=utf-8] | 121 | Content-Type: [application/json; charset=utf-8] |
122 | ETag: [W/"47f8168c1f7a8f3d8ff54544f88564d8"] | 122 | ETag: [W/"5f364b9443a59ad23cb424bc96d9f5e8"] |
123 | Transfer-Encoding: [chunked] | 123 | Transfer-Encoding: [chunked] |
124 | Vary: ['Accept-Encoding, Origin'] | 124 | Vary: ['Accept-Encoding, Origin'] |
125 | X-Content-Type-Options: [nosniff] | 125 | X-Content-Type-Options: [nosniff] |
126 | X-Frame-Options: [SAMEORIGIN] | 126 | X-Frame-Options: [SAMEORIGIN] |
127 | X-Request-Id: [afb958a3-8002-4cc1-abbf-907d69032264] | 127 | X-Request-Id: [5b3c9ed2-e3e1-4fb2-9d48-6f119f413354] |
128 | X-Runtime: ['0.040643'] | 128 | X-Runtime: ['0.018570'] |
129 | X-XSS-Protection: [1; mode=block] | 129 | X-XSS-Protection: [1; mode=block] |
130 | content-length: ['36'] | 130 | content-length: ['35'] |
131 | status: {code: 200, message: OK} | 131 | status: {code: 200, message: OK} |
132 | - request: | 132 | - request: |
133 | body: null | 133 | body: null |
@@ -145,13 +145,13 @@ interactions: | |||
145 | headers: | 145 | headers: |
146 | Cache-Control: ['max-age=0, private, must-revalidate'] | 146 | Cache-Control: ['max-age=0, private, must-revalidate'] |
147 | Content-Type: [application/json; charset=utf-8] | 147 | Content-Type: [application/json; charset=utf-8] |
148 | ETag: [W/"b2c35ec6363918f9324f60b9ce18ad00"] | 148 | ETag: [W/"fc1dc246eca7eb18d44186a403f34e4d"] |
149 | Transfer-Encoding: [chunked] | 149 | Transfer-Encoding: [chunked] |
150 | Vary: ['Accept-Encoding, Origin'] | 150 | Vary: ['Accept-Encoding, Origin'] |
151 | X-Content-Type-Options: [nosniff] | 151 | X-Content-Type-Options: [nosniff] |
152 | X-Frame-Options: [SAMEORIGIN] | 152 | X-Frame-Options: [SAMEORIGIN] |
153 | X-Request-Id: [0d09fa82-d5b4-440c-b5aa-4f995cbd452a] | 153 | X-Request-Id: [81376983-689a-42f6-beeb-fdcfebaf8079] |
154 | X-Runtime: ['0.097106'] | 154 | X-Runtime: ['0.044272'] |
155 | X-XSS-Protection: [1; mode=block] | 155 | X-XSS-Protection: [1; mode=block] |
156 | content-length: ['175'] | 156 | content-length: ['175'] |
157 | status: {code: 200, message: OK} | 157 | status: {code: 200, message: OK} |
@@ -165,19 +165,19 @@ interactions: | |||
165 | Content-Length: ['0'] | 165 | Content-Length: ['0'] |
166 | User-Agent: [python-requests/2.9.1] | 166 | User-Agent: [python-requests/2.9.1] |
167 | method: DELETE | 167 | method: DELETE |
168 | uri: http://localhost:3000/api/v1/lists/24 | 168 | uri: http://localhost:3000/api/v1/lists/9 |
169 | response: | 169 | response: |
170 | body: {string: '{}'} | 170 | body: {string: '{}'} |
171 | headers: | 171 | headers: |
172 | Cache-Control: ['max-age=0, private, must-revalidate'] | 172 | Cache-Control: ['max-age=0, private, must-revalidate'] |
173 | Content-Type: [application/json; charset=utf-8] | 173 | Content-Type: [application/json; charset=utf-8] |
174 | ETag: [W/"7d75201dffe84268b8e3844d4dc96e56"] | 174 | ETag: [W/"9f1be5e69062532601176acaaa81e8db"] |
175 | Transfer-Encoding: [chunked] | 175 | Transfer-Encoding: [chunked] |
176 | Vary: ['Accept-Encoding, Origin'] | 176 | Vary: ['Accept-Encoding, Origin'] |
177 | X-Content-Type-Options: [nosniff] | 177 | X-Content-Type-Options: [nosniff] |
178 | X-Frame-Options: [SAMEORIGIN] | 178 | X-Frame-Options: [SAMEORIGIN] |
179 | X-Request-Id: [5918aefb-8fa2-465f-b513-5ef9f4036a88] | 179 | X-Request-Id: [d1348013-9f40-490a-bf57-b47811b9a5b5] |
180 | X-Runtime: ['0.063303'] | 180 | X-Runtime: ['0.031188'] |
181 | X-XSS-Protection: [1; mode=block] | 181 | X-XSS-Protection: [1; mode=block] |
182 | content-length: ['2'] | 182 | content-length: ['2'] |
183 | status: {code: 200, message: OK} | 183 | status: {code: 200, message: OK} |