Updating a few tests
This commit is contained in:
@@ -5,26 +5,29 @@ interactions:
|
||||
Accept: ['*/*']
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Connection: [keep-alive]
|
||||
User-Agent: [rtv test suite PRAW/3.3.0 Python/3.4.0 b'Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty']
|
||||
User-Agent: [rtv test suite PRAW/3.6.1 Python/3.6.1 b'Darwin-14.5.0-x86_64-i386-64bit']
|
||||
method: GET
|
||||
uri: https://api.reddit.com/r/invalidsubreddit7/top.json?limit=1024
|
||||
response:
|
||||
body: {string: "<html>\n <head>\n <title>302 Found</title>\n </head>\n <body>\n\
|
||||
\ <h1>302 Found</h1>\n The resource was found at <a href=\"https://api.reddit.com/subreddits/search.json?q=invalidsubreddit7\"\
|
||||
>https://api.reddit.com/subreddits/search.json?q=invalidsubreddit7</a>;\n\
|
||||
you should be redirected automatically.\n\n\n </body>\n</html>"}
|
||||
body: {string: "<html>\n <head>\n <title>302 Found</title>\n </head>\n <body>\n
|
||||
\ <h1>302 Found</h1>\n The resource was found at <a href=\"https://api.reddit.com/subreddits/search.json?q=invalidsubreddit7\">https://api.reddit.com/subreddits/search.json?q=invalidsubreddit7</a>;\nyou
|
||||
should be redirected automatically.\n\n\n </body>\n</html>"}
|
||||
headers:
|
||||
CF-RAY: [24e5677aa46a1ea7-SJC]
|
||||
Accept-Ranges: [bytes]
|
||||
Connection: [keep-alive]
|
||||
Content-Length: ['313']
|
||||
Content-Type: [text/html; charset=UTF-8]
|
||||
Date: ['Wed, 02 Dec 2015 07:44:02 GMT']
|
||||
Server: [cloudflare-nginx]
|
||||
Set-Cookie: ['__cfduid=df3faf3331eff535be76b2182b9629ec01449042241; expires=Thu,
|
||||
01-Dec-16 07:44:01 GMT; path=/; domain=.reddit.com; HttpOnly']
|
||||
Date: ['Thu, 08 Jun 2017 15:16:05 GMT']
|
||||
Server: [snooserv]
|
||||
Set-Cookie: [edgebucket=XRb2CiqDQ2yhkHRXbS; Domain=reddit.com; Max-Age=63071999;
|
||||
Path=/; secure]
|
||||
Strict-Transport-Security: [max-age=15552000; includeSubDomains; preload]
|
||||
X-Content-Type-Options: [nosniff]
|
||||
Via: [1.1 varnish]
|
||||
X-Cache: [MISS]
|
||||
X-Cache-Hits: ['0']
|
||||
X-Moose: [majestic]
|
||||
X-Served-By: [cache-ord1725-ORD]
|
||||
X-Timer: ['S1496934966.510468,VS0,VE32']
|
||||
cache-control: ['max-age=0, must-revalidate']
|
||||
location: ['https://api.reddit.com/subreddits/search.json?q=invalidsubreddit7']
|
||||
status: {code: 302, message: Found}
|
||||
|
||||
Reference in New Issue
Block a user