aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-05-06 01:37:13 +0200
committerLorenz Diener <[email protected]>2018-05-06 01:37:13 +0200
commita15d28d9d60128fd5551f05eccd8999b46f70f5e (patch)
tree84c2e92799983594138a9a4fc4ec7dab429e52bf /tests/cassettes/test_account_followers.yaml
parentad6b8eeb044760adf4b420199164b245012350f4 (diff)
downloadmastodon.py-a15d28d9d60128fd5551f05eccd8999b46f70f5e.tar.gz
Testing updates, can now test streaming API
Diffstat (limited to 'tests/cassettes/test_account_followers.yaml')
-rw-r--r--tests/cassettes/test_account_followers.yaml34
1 files changed, 3 insertions, 31 deletions
diff --git a/tests/cassettes/test_account_followers.yaml b/tests/cassettes/test_account_followers.yaml
index c111374..95705c1 100644
--- a/tests/cassettes/test_account_followers.yaml
+++ b/tests/cassettes/test_account_followers.yaml
@@ -10,45 +10,17 @@ interactions:
10 method: GET 10 method: GET
11 uri: http://localhost:3000/api/v1/accounts/1/followers 11 uri: http://localhost:3000/api/v1/accounts/1/followers
12 response: 12 response:
13 body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
14 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI
15 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":20}]'}
16 headers:
17 Cache-Control: ['max-age=0, private, must-revalidate']
18 Content-Type: [application/json; charset=utf-8]
19 ETag: [W/"4b8606a3ab3bf499c6e80fdc7607d6a5"]
20 Link: ['<http://localhost:3000/api/v1/accounts/1/followers?since_id=27>; rel="prev"']
21 Transfer-Encoding: [chunked]
22 Vary: ['Accept-Encoding, Origin']
23 X-Content-Type-Options: [nosniff]
24 X-Frame-Options: [SAMEORIGIN]
25 X-Request-Id: [acf1ea71-2a48-401b-8a69-740d571cd8dc]
26 X-Runtime: ['0.100062']
27 X-XSS-Protection: [1; mode=block]
28 content-length: ['770']
29 status: {code: 200, message: OK}
30- request:
31 body: null
32 headers:
33 Accept: ['*/*']
34 Accept-Encoding: ['gzip, deflate']
35 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
36 Connection: [keep-alive]
37 User-Agent: [python-requests/2.9.1]
38 method: GET
39 uri: http://localhost:3000/api/v1/accounts/1/followers
40 response:
41 body: {string: '[]'} 13 body: {string: '[]'}
42 headers: 14 headers:
43 Cache-Control: ['max-age=0, private, must-revalidate'] 15 Cache-Control: ['max-age=0, private, must-revalidate']
44 Content-Type: [application/json; charset=utf-8] 16 Content-Type: [application/json; charset=utf-8]
45 ETag: [W/"5e588fc017a83fb7d2ef23e497250076"] 17 ETag: [W/"193e2c1d479871af01374c2c7017d903"]
46 Transfer-Encoding: [chunked] 18 Transfer-Encoding: [chunked]
47 Vary: ['Accept-Encoding, Origin'] 19 Vary: ['Accept-Encoding, Origin']
48 X-Content-Type-Options: [nosniff] 20 X-Content-Type-Options: [nosniff]
49 X-Frame-Options: [SAMEORIGIN] 21 X-Frame-Options: [SAMEORIGIN]
50 X-Request-Id: [c4be24cb-ba34-4b9d-8d48-78d583eaac0b] 22 X-Request-Id: [2a1ab2c4-c4f1-4d12-9432-8f6028e388ae]
51 X-Runtime: ['0.070215'] 23 X-Runtime: ['0.048974']
52 X-XSS-Protection: [1; mode=block] 24 X-XSS-Protection: [1; mode=block]
53 content-length: ['2'] 25 content-length: ['2']
54 status: {code: 200, message: OK} 26 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)